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

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

Powered by Google App Engine
This is Rietveld 408576698