break seen as a C archaism

Brian Goetz brian.goetz at
Fri Mar 9 22:55:53 UTC 2018

Did you happen to calculate what percentage was _not_ the "default" 
case?  I would expect that to be a considerable fraction.

On 3/9/2018 5:49 PM, Kevin Bourrillion wrote:
> On Fri, Mar 9, 2018 at 1:19 PM, Remi Forax <forax at 
> <mailto:forax at>> wrote:
>     When i asked what we should do instead, the answer is either:
>       1/ we should not allow block of codes in the expression switch
>     but only expression
>       2/ that we should use the lambda syntax with return, even if the
>     semantics is different from the lambda semantics.
>     I do not like (1) because i think the expression switch will
>     become useless
> In our (large) codebase, +Louis determined that, among switch 
> statements that appear translatable to expression switch, 13.8% of 
> them seem to require at least one multi-statement case.

More information about the amber-spec-observers mailing list