| Index: pkg/front_end/test/fasta/rasta/switch_fall_through.dart.direct.expect
|
| diff --git a/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.direct.expect b/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.direct.expect
|
| index 060c252c33ee11b5ac77cc7442dd2b680fcbdde8..f83ad0a34f135ad66eebb84ebe05e93bd9806c91 100644
|
| --- a/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.direct.expect
|
| +++ b/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.direct.expect
|
| @@ -8,9 +8,11 @@ static method main() → dynamic {
|
| #L2:
|
| case 1:
|
| {
|
| - "No fall-through error needed.";
|
| - break #L1;
|
| - ;
|
| + {
|
| + "No fall-through error needed.";
|
| + break #L1;
|
| + ;
|
| + }
|
| }
|
| #L3:
|
| case 2:
|
| @@ -25,19 +27,23 @@ static method main() → dynamic {
|
| }
|
| #L4:
|
| case 3:
|
| - try {
|
| - "No fall-through error needed.";
|
| - }
|
| - finally {
|
| - break #L1;
|
| + {
|
| + try {
|
| + "No fall-through error needed.";
|
| + }
|
| + finally {
|
| + break #L1;
|
| + }
|
| }
|
| #L5:
|
| case 4:
|
| - try {
|
| - "No fall-through error needed.";
|
| - break #L1;
|
| - }
|
| - finally {
|
| + {
|
| + try {
|
| + "No fall-through error needed.";
|
| + break #L1;
|
| + }
|
| + finally {
|
| + }
|
| }
|
| #L6:
|
| case 5:
|
| @@ -51,6 +57,8 @@ static method main() → dynamic {
|
| }
|
| #L7:
|
| case 10000:
|
| - "Should be last. No fall-through error, falling through allowed here.";
|
| + {
|
| + "Should be last. No fall-through error, falling through allowed here.";
|
| + }
|
| }
|
| }
|
|
|