Switch expression fall through

Stephen Colebourne scolebourne at joda.org
Tue Mar 13 23:15:20 UTC 2018


A recent email to amber-spec implies that expression switch will
support fall-through.
http://mail.openjdk.java.net/pipermail/amber-spec-experts/2018-March/000332.html

Is this true? If so, on what basis is this justified?

(Fall through in switch is the spawn of the devil. Allowing it in the
brand new expression switch would be horrific IMO.)

Stephen


More information about the amber-dev mailing list