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

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

Issue 2933763002: Update golden files. (Closed)
Patch Set: Add bug number for native_is_illegal. Created 3 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
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 C1 extends core::Object { 5 class C1 extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class C2 extends core::Object { 10 class C2 extends core::Object {
11 constructor •() → void 11 constructor •() → void
12 : super core::Object::•() 12 : super core::Object::•()
13 ; 13 ;
14 } 14 }
15 class C3 extends core::Object { 15 class C3 extends core::Object {
16 constructor •() → void 16 constructor •() → void
17 : super core::Object::•() 17 : super core::Object::•()
18 ; 18 ;
19 } 19 }
20 class A<T extends core::Object> extends core::Object { 20 class A<T extends core::Object> extends core::Object {
21 static field dynamic _redirecting# = <dynamic>[self::A::a, self::A::b, self::A ::c]; 21 static field dynamic _redirecting# = <dynamic>[self::A::a, self::A::b, self::A ::c];
22 constructor internal() → void 22 constructor internal() → void
23 : super core::Object::•() 23 : super core::Object::•()
24 ; 24 ;
25 static factory a<T extends core::Object>() → self::A<self::A::a::T> 25 static factory a<T extends core::Object>() → self::A<self::A::a::T>
26 let final dynamic #t1 = self::B::a in invalid-expression; 26 let dynamic #redirecting_factory = self::B::a in invalid-expression;
27 static factory b<T extends core::Object>() → self::A<self::A::b::T> 27 static factory b<T extends core::Object>() → self::A<self::A::b::T>
28 let final dynamic #t2 = self::B::a in invalid-expression; 28 let dynamic #redirecting_factory = self::B::a in invalid-expression;
29 static factory c<T extends core::Object>() → self::A<self::A::c::T> 29 static factory c<T extends core::Object>() → self::A<self::A::c::T>
30 throw new core::NoSuchMethodError::_withType(null, #Missing, -1, <dynamic>[] .toList(growable: false), <dynamic, dynamic>{}, null); 30 let dynamic #redirecting_factory = "Missing" in invalid-expression;
31 } 31 }
32 class B<S extends core::Object> extends self::A<self::B::S> { 32 class B<S extends core::Object> extends self::A<self::B::S> {
33 static field dynamic _redirecting# = <dynamic>[self::B::a, self::B::b]; 33 static field dynamic _redirecting# = <dynamic>[self::B::a, self::B::b];
34 constructor internal() → void 34 constructor internal() → void
35 : super self::A::internal() 35 : super self::A::internal()
36 ; 36 ;
37 static factory a<S extends core::Object>() → self::B<self::B::a::S> 37 static factory a<S extends core::Object>() → self::B<self::B::a::S>
38 let final dynamic #t3 = self::C::• in invalid-expression; 38 let dynamic #redirecting_factory = self::C::• in invalid-expression;
39 static factory b<S extends core::Object>() → self::B<self::B::b::S> 39 static factory b<S extends core::Object>() → self::B<self::B::b::S>
40 let final dynamic #t4 = self::C::• in invalid-expression; 40 let dynamic #redirecting_factory = self::C::• in invalid-expression;
41 } 41 }
42 class C<U extends core::Object> extends self::B<self::C::U> { 42 class C<U extends core::Object> extends self::B<self::C::U> {
43 constructor •() → void 43 constructor •() → void
44 : super self::B::internal() 44 : super self::B::internal()
45 ; 45 ;
46 } 46 }
47 static method main() → dynamic { 47 static method main() → dynamic {
48 new self::C::•<self::C3>(); 48 new self::C::•<self::C3>();
49 new self::C::•<self::C3>(); 49 new self::C::•<self::C3>();
50 new self::C::•<self::C3>(); 50 new self::C::•<self::C3>();
51 new self::C::•<self::C3>(); 51 new self::C::•<self::C3>();
52 self::A::c<self::C3>(); 52 throw new core::NoSuchMethodError::_withType(null, #Missing, 32, <dynamic>[].t oList(growable: false), <dynamic, dynamic>{}, null);
53 } 53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698