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-1871] Migration from Swift 2.2 to Swift 3.0 issue with enum #44480

Closed
swift-ci opened this issue Jun 22, 2016 · 4 comments
Closed

[SR-1871] Migration from Swift 2.2 to Swift 3.0 issue with enum #44480

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

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-1871
Radar None
Original Reporter slizeray (JIRA User)
Type Bug
Status Closed
Resolution Invalid
Additional Detail from JIRA
Votes 0
Component/s Source Tooling
Labels Bug
Assignee @nkcsgexi
Priority Medium

md5: e47e3706233f9dbec85dd2f57fdeb684

Issue Description:

The following enum

enum X {

    case A_B
    
}

is translated to:

enum X {

    case a_b
    
}

which is fine.

But:

enum X {

    case AXX_BYY
    
}

is migrated to:

enum X {

    case axx_BYY
    
}

It is inconsistent.

Shouldn’t it be rather:

enum X {

    case axx_byy
    
}

Thanks,

@belkadan
Copy link
Contributor

@nkcsgexi, are we tracking migrator bugs here or in Radar? The migrator isn't a part of the Swift open source project.

@nkcsgexi
Copy link
Member

I think both are fine. I will periodically check reported bugs in Jira.

@swift-ci
Copy link
Collaborator Author

Comment by Stéphane Lizeray (JIRA)

@nkcsgexi, let me know if you want me to add an issue in Radar?

@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 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