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

Guy Steele guy.steele at oracle.com
Wed May 22 16:16:07 UTC 2019


+3.7

> On May 22, 2019, at 12:12 PM, John Rose <john.r.rose at oracle.com> wrote:
> 
> 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