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

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

Issue 2117513002: More extensive error handling for 'unresolved' cases. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Merge and update test expectations Created 4 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
« no previous file with comments | « test/kernel/regression/typedef.dart.txt ('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 dynamic #t1 in x) { 9 for(final dynamic #t1 in x) {
10 this.key = #t1; 10 this.key = #t1;
(...skipping 14 matching lines...) Expand all
25 for(final dynamic #t8 in x) { 25 for(final dynamic #t8 in x) {
26 let final dynamic #t9 = #t8 in invalid-expression; 26 let final dynamic #t9 = #t8 in invalid-expression;
27 core::print(this.key); 27 core::print(this.key);
28 } 28 }
29 } 29 }
30 } 30 }
31 static method main(dynamic arguments) → dynamic { 31 static method main(dynamic arguments) → dynamic {
32 new self::Fisk::•(); 32 new self::Fisk::•();
33 for(final dynamic #t10 in arguments) { 33 for(final dynamic #t10 in arguments) {
34 let final dynamic #t11 = #t10 in invalid-expression; 34 let final dynamic #t11 = #t10 in invalid-expression;
35 core::print(invalid-expression); 35 core::print(throw core::_genericNoSuchMethod(null, #key, <dynamic>[], <dynam ic, dynamic>{}, null));
36 } 36 }
37 for(final dynamic #t12 in arguments) { 37 for(final dynamic #t12 in arguments) {
38 let final dynamic #t13 = #t12 in invalid-expression; 38 let final dynamic #t13 = #t12 in invalid-expression;
39 core::print(self::Fisk); 39 core::print(self::Fisk);
40 } 40 }
41 for(final dynamic #t14 in arguments) { 41 for(final dynamic #t14 in arguments) {
42 let final dynamic #t15 = #t14 in invalid-expression; 42 let final dynamic #t15 = #t14 in invalid-expression;
43 core::print(invalid-expression); 43 core::print(invalid-expression);
44 } 44 }
45 for(final dynamic #t16 in arguments) { 45 for(final dynamic #t16 in arguments) {
46 let final dynamic #t17 = #t16 in invalid-expression; 46 let final dynamic #t17 = #t16 in invalid-expression;
47 core::print(() → void); 47 core::print(() → void);
48 } 48 }
49 for(final dynamic #t18 in arguments) { 49 for(final dynamic #t18 in arguments) {
50 let final dynamic #t19 = #t18 in invalid-expression; 50 let final dynamic #t19 = #t18 in invalid-expression;
51 core::print(invalid-expression); 51 core::print(throw core::_genericNoSuchMethod(null, #key, <dynamic>[], <dynam ic, dynamic>{}, null));
52 } 52 }
53 } 53 }
OLDNEW
« no previous file with comments | « test/kernel/regression/typedef.dart.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698