break seen as a C archaism
Brian Goetz
brian.goetz at oracle.com
Mon Mar 12 23:54:31 UTC 2018
> I think having another syntax for the block syntax of an expression switch makes little sense,
> we still have two possibilities, adding 'break value', or saying that we do not support block syntax in case of a switch expression.
> I'm still not convinced which one is the better.
Not supporting some sort of block syntax (either a block expression or a switch style block) is a non-starter. There are too many legitimate cases excluded.
More information about the amber-spec-observers
mailing list