Expression switch exception naming

Doug Lea dl at
Sat Mar 31 11:56:44 UTC 2018

On Fri, March 30, 2018 1:48 pm, Brian Goetz wrote:

> So an alternative here is to tweak the language so that the "conclude
> exhaustiveness if all enum constants are present" behavior should be
> reserved for the cases where the switch and the enum are in the same
> module?

I might have missed discussion of this, but has anyone considered
the alternative of finally allowing "final" on an enum class? In
this case, several sets of simpler alternatives would be possible.


More information about the amber-spec-experts mailing list