We came to pretty much the same conclusion internally.  Lambdas and switch expressions are where this is needed.

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.

Reply via email to