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-1829] Swift 3.0 Migrator: Enums: small caps for definition but not for call. #44438

Closed
swift-ci opened this issue Jun 20, 2016 · 5 comments
Closed
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-1829
Radar http://www.openradar.me/26887735
Original Reporter stuffmc (JIRA User)
Type Bug
Status Closed
Resolution Invalid
Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee @nkcsgexi
Priority Medium

md5: 78287c4cb721f3da3b918b12bf6e956f

Issue Description:

Take https://github.com/stuffmc/YOChartImageKit and "upgrade" it to Swift 3.0

The enum `YOChart` will be "lowcased" from `SolidLineChart` to `solidLineChart` but the call `YoChart.SolidLineChart` will not be renamed to `.solidLineChart`

@belkadan
Copy link
Contributor

@nkcsgexi, are you tracking migrator issues here, or are those still Radar-only?

@nkcsgexi
Copy link
Member

I think it is fine to file bugs here. But first of all, some enum cases are expected to be not lower-cased, for instance, for those enum cases of string raw value type. Is this what the issue is about?

@swift-ci
Copy link
Collaborator Author

Comment by Manuel "StuFF mc" Carrasco Molina (JIRA)

"No" Type — well, you know what I mean. No String.

@akyrtzi
Copy link
Member

akyrtzi commented Sep 23, 2016

Please file a bug at https://bugreport.apple.com; the migrator is not part of swift.org so the best way to report the problem and get notified about potential fixes when they are part of an Xcode release is via reporting via https://bugreport.apple.com.
After reporting please mention the bug number here.

@swift-ci
Copy link
Collaborator Author

Comment by Manuel "StuFF mc" Carrasco Molina (JIRA)

Folks, turns out it's fixed: http://www.openradar.me/26887735

I had reported it to Bugreport as well.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
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.
Projects
None yet
Development

No branches or pull requests

4 participants