[swift-users] Swift 3 preview 1 in Xcode 8 and Lowercase enum cases

zh ao owenzx at gmail.com
Tue Jun 21 19:44:22 CDT 2016


e
​num should be case-sensitive. If you find it otherwise, you should file a
bug.

Zhaoxin

On Wed, Jun 22, 2016 at 5:48 AM, Stéphane Lizeray <swift-users at swift.org>
wrote:

> Hello,
>
> 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
>
>
> }
>
>
> Shouldn’t it be rather:
>
>
> enum X {
>
> case axx_byy
>
> }
>
> Thanks,
>
>
> Stéphane
>
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160622/e81e3fe5/attachment.html>


More information about the swift-users mailing list