| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/general/omitted_break.dart:9:5: Error: Switch case may fall through to the next case. |
| // case 0: |
| // ^ |
| // |
| // pkg/front_end/testcases/general/omitted_break.dart:11:5: Error: Switch case may fall through to the next case. |
| // case 1: |
| // ^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| static method method(dynamic e) → dynamic { |
| switch(e) /* dynamic */ { |
| #L1: |
| case #C1: |
| { |
| core::print(0); |
| } |
| #L2: |
| case #C2: |
| { |
| core::print(1); |
| } |
| #L3: |
| case #C3: |
| { |
| core::print(2); |
| } |
| } |
| } |
| |
| constants { |
| #C1 = 0 |
| #C2 = 1 |
| #C3 = 2 |
| } |