Skip to content

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

@swift-ci

Description

@swift-ci
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,

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions