break seen as a C archaism
kevinb at google.com
Fri Mar 9 22:49:21 UTC 2018
On Fri, Mar 9, 2018 at 1:19 PM, Remi Forax <forax at univ-mlv.fr> 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
> 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