DescriptionPreviously,
switch (foo) {
case 1:
bar();
break;
}
would render as
switch (foo) {
case 1: {
bar();
break;
}
}
and many switch statements rendered with spurious noops.
This fixes that, and makes the switch body getter available on the
ancestor class of both default: and case: statements.
And made sure that a program consisting of only a directive prologue
does not fail to parse.
Submitted @3873
Patch Set 1 #
MessagesTotal messages: 3
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||