Yield as contextual keyword (was: Call for bikeshed -- break replacement in expression switch)

John Rose john.r.rose at oracle.com
Wed May 22 16:12:03 UTC 2019

On May 22, 2019, at 8:45 AM, Brian Goetz <brian.goetz at oracle.com> wrote:
> So my recommendation here is the compromise strategy.  

+10  Let's do it.

Even though it fails to recognize some yield method
calls, it is easy to learn and explain and therefore more
predictable for end users.  The failure to recognize is
going to be a rare problem; this can be proven during
the preview period.

More information about the amber-spec-experts mailing list