-
Notifications
You must be signed in to change notification settings - Fork 701
Closed
Labels
Milestone
Description
While implementing tableswitch in wasm-emscripten, I realized that cases have labels. Can they be br-ed to? Asking @sunfishcode , there wasn't an obvious answer, so this looks unspecified, opening this for discussion.
- One option is no, one cannot br on the labels of cases. But one can do so on the switch itself to exit it.
- Another option is yes, but then what does the br do? Normally a br to
name: {}gets to right after those{}. But @sunfishcode said he thought maybe it should go inside. In other words, inside switches, case blocks couldgototo other case blocks?
Reactions are currently unavailable