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

Side by Side Diff: pkg/front_end/testcases/inference/infer_type_regardless_of_declaration_order_or_cycles.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 "./infer_type_regardless_of_declaration_order_or_cycles_b.dart" as inf; 3 import "./infer_type_regardless_of_declaration_order_or_cycles_b.dart" as inf;
4 import "dart:core" as core; 4 import "dart:core" as core;
5 5
6 class C extends inf::B { 6 class C extends inf::B {
7 constructor •() → void 7 default constructor •() → void
8 : super inf::B::•() 8 : super inf::B::•()
9 ; 9 ;
10 get x() → core::int 10 get x() → core::int
11 return null; 11 return null;
12 } 12 }
13 class A extends core::Object { 13 class A extends core::Object {
14 constructor •() → void 14 default constructor •() → void
15 : super core::Object::•() 15 : super core::Object::•()
16 ; 16 ;
17 get x() → core::int 17 get x() → core::int
18 return 0; 18 return 0;
19 } 19 }
20 static method foo() → dynamic { 20 static method foo() → dynamic {
21 core::int y = new self::C::•().{self::C::x}; 21 core::int y = new self::C::•().{self::C::x};
22 core::String z = new self::C::•().{self::C::x}; 22 core::String z = new self::C::•().{self::C::x};
23 } 23 }
24 static method main() → dynamic { 24 static method main() → dynamic {
25 self::foo(); 25 self::foo();
26 } 26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698