OLD | NEW |
1 library; | 1 library; |
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 X extends core::Object { | 5 class X extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 class A extends core::Object { | 10 class A extends core::Object { |
11 field self::X x; | 11 field self::X x; |
12 constructor •(self::X x) → void | 12 constructor •(self::X x) → void |
13 : self::A::x = x, super core::Object::•() {} | 13 : self::A::x = x, super core::Object::•() {} |
14 } | 14 } |
15 static method main() → dynamic { | 15 static method main() → dynamic { |
16 self::A a = new self::A::•(new self::X::•()); | 16 self::A a = new self::A::•(new self::X::•()); |
17 } | 17 } |
OLD | NEW |