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

Side by Side Diff: pkg/front_end/testcases/inference/infer_field_overrides_getter.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 test; 1 library test;
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 abstract class A extends core::Object { 5 abstract class A extends core::Object {
6 constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 abstract get x() → core::int; 9 abstract get x() → core::int;
10 } 10 }
11 class B extends core::Object { 11 class B extends core::Object {
12 constructor •() → void 12 default constructor •() → void
13 : super core::Object::•() 13 : super core::Object::•()
14 ; 14 ;
15 get x() → core::int 15 get x() → core::int
16 return 0; 16 return 0;
17 } 17 }
18 class C extends self::A { 18 class C extends self::A {
19 field dynamic x = null; 19 field dynamic x = null;
20 constructor •() → void 20 default constructor •() → void
21 : super self::A::•() 21 : super self::A::•()
22 ; 22 ;
23 } 23 }
24 class D extends self::B { 24 class D extends self::B {
25 field dynamic x = null; 25 field dynamic x = null;
26 constructor •() → void 26 default constructor •() → void
27 : super self::B::•() 27 : super self::B::•()
28 ; 28 ;
29 } 29 }
30 class E extends core::Object implements self::A { 30 class E extends core::Object implements self::A {
31 field dynamic x = null; 31 field dynamic x = null;
32 constructor •() → void 32 default constructor •() → void
33 : super core::Object::•() 33 : super core::Object::•()
34 ; 34 ;
35 } 35 }
36 class F extends core::Object implements self::B { 36 class F extends core::Object implements self::B {
37 field dynamic x = null; 37 field dynamic x = null;
38 constructor •() → void 38 default constructor •() → void
39 : super core::Object::•() 39 : super core::Object::•()
40 ; 40 ;
41 } 41 }
42 abstract class Object&B = core::Object with self::B { 42 abstract class Object&B = core::Object with self::B {
43 } 43 }
44 class G extends self::Object&B { 44 class G extends self::Object&B {
45 field dynamic x = null; 45 field dynamic x = null;
46 constructor •() → void 46 default constructor •() → void
47 : super core::Object::•() 47 : super core::Object::•()
48 ; 48 ;
49 } 49 }
50 static method main() → dynamic {} 50 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698