Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-4259] Request: fixit for import module casing #46842

Open
NachoSoto opened this issue Mar 16, 2017 · 3 comments
Open

[SR-4259] Request: fixit for import module casing #46842

NachoSoto opened this issue Mar 16, 2017 · 3 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation good first issue Good for newcomers

Comments

@NachoSoto
Copy link
Contributor

Previous ID SR-4259
Radar None
Original Reporter @NachoSoto
Type Bug
Environment

Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, DiagnosticsQoI, StarterBug
Assignee None
Priority Medium

md5: 24348ceb701412a7d44fffc88ff4e8c8

relates to:

  • SR-9554 Improve diagnostic for naming a project after a system framework, case-insensitively

Issue Description:

`import UIKIt` (notice the capital I) fails with the error: "Cannot load module 'UIKit' as 'UIKIt'".

Expected behavior: it produces a fixit to correct this. I almost couldn't see what was wrong, since i and I are so similar.

@swift-ci
Copy link
Collaborator

Comment by Matthew Spear (JIRA)

Still trying out starter bugs and getting a feel for OS - will give it an attempt and release the issue / ask for help if I can't manage it!

@keith
Copy link
Collaborator

keith commented Jul 27, 2018

I've submitted a fix-it for this case here #18308

@belkadan
Copy link
Contributor

Oops, looks like we didn't get this reviewed at the time and @keith went to work on other things. If anyone wants to pick it up, feel free!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants