[swift-evolution] Handling unknown cases in enums [RE: SE-0192]

Jonathan Hull jhull at gbis.com
Fri Jan 12 18:31:24 CST 2018

I’m definitely in the error camp, but I will go along with a warning if everyone feels that is better.


> On Jan 12, 2018, at 3:08 PM, Jordan Rose via swift-evolution <swift-evolution at swift.org> wrote:
> Okay, I went back to `unknown case` in the proposal, but mentioned Chris's point very specifically: if the compiler emits an error, we should go with `case #unknown` instead. (I'm very strongly in the "warning" camp, though.)
> I think the revised proposal is in good shape! (https://github.com/apple/swift-evolution/pull/777) I think I've addressed everyone's feedback either in the proposal or on-list, if not necessarily convinced them. If there are no other major comments I'll let Ted know that it's ready to re-run on Monday.
> Jordan
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

More information about the swift-evolution mailing list