Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: pkg/front_end/testcases/inference/switch_continue.dart.direct.expect

Issue 2962583002: Add type inference for break and continue statements. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698