[swift-evolution] Questions about non-exhaustive enums
Lance Parker
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?
> Thanks!
>
>
> --
> Ignacio Soto
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20180105/c4502a24/attachment.html>
More information about the swift-evolution
mailing list