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

Side by Side Diff: pkg/front_end/testcases/rasta/switch_fall_through.dart.dartk.expect

Issue 2980883003: Remove code associated with the old "kompile" functionality. (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;
2 import self as self;
3 import "dart:core" as core;
4
5 static method main() → dynamic {
6 #L1:
7 switch(1) {
8 #L2:
9 case 1:
10 {
11 "No fall-through error needed.";
12 break #L1;
13 ;
14 }
15 #L3:
16 case 2:
17 {
18 {
19 "Fall-through error needed.";
20 if(true) {
21 break #L1;
22 }
23 }
24 throw core::_fallThroughError();
25 }
26 #L4:
27 case 3:
28 try {
29 "No fall-through error needed.";
30 }
31 finally {
32 break #L1;
33 }
34 #L5:
35 case 4:
36 try {
37 "No fall-through error needed.";
38 break #L1;
39 }
40 finally {
41 }
42 #L6:
43 case 5:
44 {
45 try {
46 "Fall-through error needed.";
47 }
48 finally {
49 }
50 throw core::_fallThroughError();
51 }
52 #L7:
53 case 10000:
54 "Should be last. No fall-through error, falling through allowed here.";
55 }
56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698