OLD | NEW |
(Empty) | |
| 1 library; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class X extends core::Object { |
| 6 constructor •() → void |
| 7 : super core::Object::•() |
| 8 ; |
| 9 } |
| 10 class Y extends core::Object { |
| 11 constructor •() → void |
| 12 : super core::Object::•() |
| 13 ; |
| 14 } |
| 15 class A extends core::Object { |
| 16 field self::X x; |
| 17 field self::Y y; |
| 18 constructor •(self::X x, self::Y y) → void |
| 19 : self::A::x = x, self::A::y = y, super core::Object::•() |
| 20 ; |
| 21 } |
| 22 class B extends self::A { |
| 23 constructor •(self::X x, self::Y y) → void |
| 24 : super self::A::•(x, y) {} |
| 25 } |
| 26 static method main() → dynamic { |
| 27 self::B b = new self::B::•(new self::X::•(), new self::Y::•()); |
| 28 } |
OLD | NEW |