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

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

Issue 2981783002: Set 'isSyntheticDefault' for default constructors. (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
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 default 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 default 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 default 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 dynamic #redirecting_factory = self::B::a in invalid-expression; 26 let dynamic #redirecting_factory = self::B::a in invalid-expression;
(...skipping 17 matching lines...) Expand all
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 throw new core::NoSuchMethodError::_withType(null, #Missing, 32, <dynamic>[].t oList(growable: false), <dynamic, dynamic>{}, null); 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