OLD | NEW |
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 } |
OLD | NEW |