-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Description
| Previous ID | SR-12666 |
| Radar | rdar://problem/62318713 |
| Original Reporter | @weissi |
| Type | Bug |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
md5: 13f02b076545191585eaef8de5234844
Issue Description:
Currently, Swift has at least two language dialects:
-
Swift with library evolution on (
Swift+LE) -
Swift with library evolution off (
Swift-LE)
To my knowledge, there's only one semantic difference:
-
Swift+LE'senums are open by default and can be closed by using@frozen -
Swift-LE'senums are closed by default and CANNOT be open
That leaves us in Swift-LE land in a terrible position (eg. apple/swift-nio#1428 , apple/swift-nio#969 ): Not only do we have a different default, Swift-LE actually literally cannot express the default behaviour of Swift+LE...
ktoso, FranzBusch, karwa, QuietMisdreavus, tbkka and 2 more
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.