Re: [swift-dev] Enums with Many Cases/Covered Switches

2017-08-01 Thread Andrew Trick via swift-dev
> On Aug 1, 2017, at 10:49 AM, Michael Gottesman wrote: > > I was reading https://github.com/apple/swift/pull/11098 and it brought my > mind back to a strawman discussion that Roman and I had some time ago. > Namely, in some cases, we want the functionality of a covered

[swift-dev] Enums with Many Cases/Covered Switches

2017-08-01 Thread Michael Gottesman via swift-dev
I was reading https://github.com/apple/swift/pull/11098 and it brought my mind back to a strawman discussion that Roman and I had some time ago. Namely, in some cases, we want the functionality of a covered switch, but it would be wasteful to write out all of the cases and fatal error due to