Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 library test; | |
| 2 import self as self; | |
| 3 import "dart:core" as core; | |
| 4 | |
| 5 static method test(core::int x, () → void f) → void { | |
| 6 #L1: | |
| 7 switch(x) { | |
| 8 #L2: | |
| 9 case 0: | |
| 10 { | |
| 11 f.call(); | |
| 12 continue #L3; | |
| 13 } | |
| 14 #L3: | |
| 15 case 1: | |
| 16 { | |
| 17 f.call(); | |
| 18 break #L1; | |
| 19 } | |
| 20 } | |
| 21 } | |
| 22 static method main() → dynamic {} | |
| OLD | NEW |