[swift-evolution] Questions about non-exhaustive enums
lance_parker at apple.com
Fri Jan 5 15:59:37 CST 2018
This is the same issue as when a library maintainer changes a class from open to closed.
> On Jan 5, 2018, at 10:54 AM, Ignacio Soto via swift-evolution <swift-evolution at swift.org> wrote:
> I love the revision to the proposal <https://github.com/apple/swift-evolution/pull/777>, but I have a couple of remaining questions that don't seem to be addressed in the doc and I'm curious about:
> What happens if a library maintainer adds a new case to a @frozen enum?
> What happens if a library maintainer changes an enum from @frozen to non-frozen?
> Ignacio Soto
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution