[swift-evolution] Enums and Source Compatibility

David Sweeris davesweeris at mac.com
Wed Sep 20 20:16:11 CDT 2017

> On Sep 20, 2017, at 4:15 PM, Dave DeLong via swift-evolution <swift-evolution at swift.org> wrote:
> Hi Jordan,
> One thing I’m still not clear on exhaustive vs non-exhaustive…
> What will stop a developer from releasing an exhaustive enum in version 1 of their library, and then adding a new case in version 2?

Nothing, other than it would break code written using version 1.

- Dave Sweeris

More information about the swift-evolution mailing list