| Index: pkg/front_end/test/fasta/rasta/switch_fall_through.dart.outline.expect
|
| diff --git a/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.outline.expect b/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.outline.expect
|
| index 060c252c33ee11b5ac77cc7442dd2b680fcbdde8..6a28c0dd5404a9ac6633a2c09b263973b2b2bf1d 100644
|
| --- a/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.outline.expect
|
| +++ b/pkg/front_end/test/fasta/rasta/switch_fall_through.dart.outline.expect
|
| @@ -1,56 +1,5 @@
|
| library;
|
| import self as self;
|
| -import "dart:core" as core;
|
|
|
| -static method main() → dynamic {
|
| - #L1:
|
| - switch(1) {
|
| - #L2:
|
| - case 1:
|
| - {
|
| - "No fall-through error needed.";
|
| - break #L1;
|
| - ;
|
| - }
|
| - #L3:
|
| - case 2:
|
| - {
|
| - {
|
| - "Fall-through error needed.";
|
| - if(true) {
|
| - break #L1;
|
| - }
|
| - }
|
| - throw core::_fallThroughError();
|
| - }
|
| - #L4:
|
| - case 3:
|
| - try {
|
| - "No fall-through error needed.";
|
| - }
|
| - finally {
|
| - break #L1;
|
| - }
|
| - #L5:
|
| - case 4:
|
| - try {
|
| - "No fall-through error needed.";
|
| - break #L1;
|
| - }
|
| - finally {
|
| - }
|
| - #L6:
|
| - case 5:
|
| - {
|
| - try {
|
| - "Fall-through error needed.";
|
| - }
|
| - finally {
|
| - }
|
| - throw core::_fallThroughError();
|
| - }
|
| - #L7:
|
| - case 10000:
|
| - "Should be last. No fall-through error, falling through allowed here.";
|
| - }
|
| -}
|
| +static method main() → dynamic
|
| + ;
|
|
|