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

Side by Side Diff: pkg/front_end/testcases/inference/infer_field_static.dart.strong.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 static get x() → core::int 9 static get x() → core::int
10 return 0; 10 return 0;
11 } 11 }
12 class B extends self::A { 12 class B extends self::A {
13 static field dynamic x = self::f(); 13 static field dynamic x = self::f();
14 constructor •() → void 14 default constructor •() → void
15 : super self::A::•() 15 : super self::A::•()
16 ; 16 ;
17 } 17 }
18 class C extends self::A { 18 class C extends self::A {
19 static field dynamic x = null; 19 static field dynamic x = null;
20 constructor •() → void 20 default constructor •() → void
21 : super self::A::•() 21 : super self::A::•()
22 ; 22 ;
23 } 23 }
24 static method f() → dynamic 24 static method f() → dynamic
25 return null; 25 return null;
26 static method main() → dynamic {} 26 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698