Allow return
in a switch
expression
#4214
Labels
feature
Proposed language feature that solves one or more problems
This compiles just fine
but this does not
But I think those should behave the same way, not assigning
x
any value and not caring about its type, since the function is about to be exited.The text was updated successfully, but these errors were encountered: