OLD | NEW |
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 class A extends core::Object { | 5 class A extends core::Object { |
6 final field dynamic x = null; | 6 final field dynamic x = null; |
7 constructor •() → void | 7 default constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
11 class B extends core::Object implements self::A { | 11 class B extends core::Object implements self::A { |
12 final field dynamic x = 2; | 12 final field dynamic x = 2; |
13 constructor •() → void | 13 default constructor •() → void |
14 : super core::Object::•() | 14 : super core::Object::•() |
15 ; | 15 ; |
16 } | 16 } |
17 static method foo() → dynamic { | 17 static method foo() → dynamic { |
18 core::String y = new self::B::•().{self::B::x}; | 18 core::String y = new self::B::•().{self::B::x}; |
19 core::int z = new self::B::•().{self::B::x}; | 19 core::int z = new self::B::•().{self::B::x}; |
20 } | 20 } |
21 static method main() → dynamic {} | 21 static method main() → dynamic {} |
OLD | NEW |