----- Mail original ----- > De: "Brian Goetz" <[email protected]> > À: [email protected] > Cc: "Kevin Bourrillion" <[email protected]>, "amber-spec-experts" > <[email protected]> > Envoyé: Mercredi 13 Décembre 2017 15:38:31 > Objet: Re: New JEP: Switch Expressions for the Java Language
> We came to pretty much the same conclusion internally. Lambdas and > switch expressions are where this is needed. Ok, cool. Rémi > > On 12/13/2017 5:08 AM, [email protected] wrote: >> >> I think we should only allow throw as an expression if the precedent >> symbol was '->', i.e. only allows throw as an expression in lambda >> body and in the body of an expression switch. > > It seems to cover what we want without making the code too un-java-y.
