break seen as a C archaism

Kevin Bourrillion kevinb at
Fri Mar 9 22:49:21 UTC 2018

On Fri, Mar 9, 2018 at 1:19 PM, Remi Forax <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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amber-spec-experts mailing list