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

Side by Side Diff: pkg/front_end/testcases/rasta/unresolved_for_in.dart.direct.expect

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. 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
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 typedef VoidFunction = () → void;
5 class Fisk extends core::Object { 6 class Fisk extends core::Object {
6 default constructor •() → void 7 default constructor •() → void
7 : super core::Object::•() 8 : super core::Object::•()
8 ; 9 ;
9 method it1(dynamic x) → dynamic { 10 method it1(dynamic x) → dynamic {
10 for (final dynamic #t1 in x) { 11 for (final dynamic #t1 in x) {
11 this.key = #t1; 12 this.key = #t1;
12 core::print(this.key); 13 core::print(this.key);
13 } 14 }
14 for (final dynamic #t2 = throw new core::_CompileTimeError::•("pkg/front_end /test/fasta/rasta/unresolved_for_in.dart:14:10: \u0027[31mError: Expected lvalue , but got Instance of 'SourceClassBuilder'\u0027[0m") in x) { 15 for (final dynamic #t2 in x) {
16 throw new core::NoSuchMethodError::_withType(null, #Fisk, 34, <dynamic>[#t 2].toList(growable: false), <dynamic, dynamic>{}, null);
15 core::print(self::Fisk); 17 core::print(self::Fisk);
16 } 18 }
17 for (final dynamic #t3 = throw new core::_CompileTimeError::•("pkg/front_end /test/fasta/rasta/unresolved_for_in.dart:17:10: \u0027[31mError: Expected lvalue , but got Instance of 'PrefixBuilder'\u0027[0m") in x) { 19 for (final dynamic #t3 = const core::_ConstantExpressionError::•()._throw(ne w core::_CompileTimeError::•("pkg/front_end/testcases/rasta/unresolved_for_in.da rt:17:10: Error: Expected lvalue, but got Instance of 'PrefixBuilder'\n for ( collection in x) {\n ^")) in x) {
18 core::print(throw new core::_CompileTimeError::•("pkg/front_end/test/fasta /rasta/unresolved_for_in.dart: \u0027[31mError: A library can't be used as an ex pression.\u0027[0m")); 20 core::print(const core::_ConstantExpressionError::•()._throw(new core::_Co mpileTimeError::•("pkg/front_end/testcases/rasta/unresolved_for_in.dart: Error: A library can't be used as an expression.")));
19 } 21 }
20 for (final dynamic #t4 = throw new core::_CompileTimeError::•("pkg/front_end /test/fasta/rasta/unresolved_for_in.dart:20:10: \u0027[31mError: Expected lvalue , but got Instance of 'KernelFunctionTypeAliasBuilder'\u0027[0m") in x) { 22 for (final dynamic #t4 in x) {
23 throw new core::NoSuchMethodError::_withType(null, #VoidFunction, 34, <dyn amic>[#t4].toList(growable: false), <dynamic, dynamic>{}, null);
21 core::print(() → void); 24 core::print(() → void);
22 } 25 }
23 for (final dynamic #t5 = throw new core::_CompileTimeError::•("pkg/front_end /test/fasta/rasta/unresolved_for_in.dart:23:10: \u0027[31mError: Expected lvalue , but got 1\u0027[0m") in x) { 26 for (final dynamic #t5 = const core::_ConstantExpressionError::•()._throw(ne w core::_CompileTimeError::•("pkg/front_end/testcases/rasta/unresolved_for_in.da rt:23:10: Error: Expected lvalue, but got 1\n for (1 in x) {\n ^")) i n x) {
24 core::print(this.key); 27 core::print(this.key);
25 } 28 }
26 } 29 }
27 } 30 }
28 static method main(dynamic arguments) → dynamic { 31 static method main(dynamic arguments) → dynamic {
29 new self::Fisk::•(); 32 new self::Fisk::•();
30 for (final dynamic #t6 = throw new core::_CompileTimeError::•("pkg/front_end/t est/fasta/rasta/unresolved_for_in.dart:31:8: \u0027[31mError: Expected lvalue, b ut got unresolved-identifier(key)\u0027[0m") in arguments) { 33 for (final dynamic #t6 in arguments) {
31 core::print(throw new core::NoSuchMethodError::•(null, #key, <dynamic>[], <d ynamic, dynamic>{}, null)); 34 throw new core::NoSuchMethodError::_withType(null, #key, 34, <dynamic>[#t6]. toList(growable: false), <dynamic, dynamic>{}, null);
35 core::print(throw new core::NoSuchMethodError::_withType(null, #key, 33, <dy namic>[].toList(growable: false), <dynamic, dynamic>{}, null));
32 } 36 }
33 for (final dynamic #t7 = throw new core::_CompileTimeError::•("pkg/front_end/t est/fasta/rasta/unresolved_for_in.dart:34:8: \u0027[31mError: Expected lvalue, b ut got Instance of 'SourceClassBuilder'\u0027[0m") in arguments) { 37 for (final dynamic #t7 in arguments) {
38 throw new core::NoSuchMethodError::_withType(null, #Fisk, 34, <dynamic>[#t7] .toList(growable: false), <dynamic, dynamic>{}, null);
34 core::print(self::Fisk); 39 core::print(self::Fisk);
35 } 40 }
36 for (final dynamic #t8 = throw new core::_CompileTimeError::•("pkg/front_end/t est/fasta/rasta/unresolved_for_in.dart:37:8: \u0027[31mError: Expected lvalue, b ut got Instance of 'PrefixBuilder'\u0027[0m") in arguments) { 41 for (final dynamic #t8 = const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/unresolved_for_in.dart :37:8: Error: Expected lvalue, but got Instance of 'PrefixBuilder'\n for (colle ction in arguments) {\n ^")) in arguments) {
37 core::print(throw new core::_CompileTimeError::•("pkg/front_end/test/fasta/r asta/unresolved_for_in.dart: \u0027[31mError: A library can't be used as an expr ession.\u0027[0m")); 42 core::print(const core::_ConstantExpressionError::•()._throw(new core::_Comp ileTimeError::•("pkg/front_end/testcases/rasta/unresolved_for_in.dart: Error: A library can't be used as an expression.")));
38 } 43 }
39 for (final dynamic #t9 = throw new core::_CompileTimeError::•("pkg/front_end/t est/fasta/rasta/unresolved_for_in.dart:40:8: \u0027[31mError: Expected lvalue, b ut got Instance of 'KernelFunctionTypeAliasBuilder'\u0027[0m") in arguments) { 44 for (final dynamic #t9 in arguments) {
45 throw new core::NoSuchMethodError::_withType(null, #VoidFunction, 34, <dynam ic>[#t9].toList(growable: false), <dynamic, dynamic>{}, null);
40 core::print(() → void); 46 core::print(() → void);
41 } 47 }
42 for (final dynamic #t10 = throw new core::_CompileTimeError::•("pkg/front_end/ test/fasta/rasta/unresolved_for_in.dart:43:8: \u0027[31mError: Expected lvalue, but got 1\u0027[0m") in arguments) { 48 for (final dynamic #t10 = const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/unresolved_for_in.dar t:43:8: Error: Expected lvalue, but got 1\n for (1 in arguments) {\n ^")) in arguments) {
43 core::print(throw new core::NoSuchMethodError::(null, #key, <dynamic>[], <d ynamic, dynamic>{}, null)); 49 core::print(throw new core::NoSuchMethodError::_withType(null, #key, 33, <dy namic>[].toList(growable: false), <dynamic, dynamic>{}, null));
44 } 50 }
45 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698