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

Side by Side Diff: test/kernel/regression/unresolved_for_in.dart.txt

Issue 2059733002: More bad for-in loop variables. (Closed) Base URL: git@github.com:dart-lang/rasta.git@parser_crash
Patch Set: Created 4 years, 6 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
« no previous file with comments | « test/kernel/regression/unresolved_for_in.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class Fisk extends core::Object { 5 class Fisk extends core::Object {
6 constructor •() → self::Fisk 6 constructor •() → self::Fisk
7 : super core::Object::•(); 7 : super core::Object::•();
8 method it1(dynamic x) → dynamic { 8 method it1(dynamic x) → dynamic {
9 for(final #t1 in x) { 9 for(final #t1 in x) {
10 this.key = #t1; 10 this.key = #t1;
11 core::print(this.key); 11 core::print(this.key);
12 } 12 }
13 for(final #t2 in x) {
14 let final #t3 = #t2 in invalid-expression;
15 core::print(self::Fisk);
16 }
17 for(final #t4 in x) {
18 let final #t5 = #t4 in invalid-expression;
19 core::print(throw "Kernel IR not yet implemented for 'handleError'.");
20 }
21 for(final #t6 in x) {
22 let final #t7 = #t6 in invalid-expression;
23 core::print(throw "Kernel IR not yet implemented for 'TypedefTypeLiteralGe t'.");
24 }
25 for(final #t8 in x) {
26 let final #t9 = #t8 in invalid-expression;
27 core::print(this.key);
28 }
13 } 29 }
14 } 30 }
31 static method main(dynamic arguments) → dynamic {
32 new self::Fisk::•();
33 for(final #t10 in arguments) {
34 let final #t11 = #t10 in invalid-expression;
35 core::print(invalid-expression);
36 }
37 for(final #t12 in arguments) {
38 let final #t13 = #t12 in invalid-expression;
39 core::print(self::Fisk);
40 }
41 for(final #t14 in arguments) {
42 let final #t15 = #t14 in invalid-expression;
43 core::print(throw "Kernel IR not yet implemented for 'handleError'.");
44 }
45 for(final #t16 in arguments) {
46 let final #t17 = #t16 in invalid-expression;
47 core::print(throw "Kernel IR not yet implemented for 'TypedefTypeLiteralGet' .");
48 }
49 for(final #t18 in arguments) {
50 let final #t19 = #t18 in invalid-expression;
51 core::print(invalid-expression);
52 }
53 }
OLDNEW
« no previous file with comments | « test/kernel/regression/unresolved_for_in.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698