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 C extends core::Object { | 5 class C extends core::Object { |
6 field dynamic a = null; | 6 field dynamic a = null; |
7 field dynamic b = 0; | 7 field dynamic b = 0; |
8 field dynamic c = 1.+(2); | 8 field dynamic c = 1.+(2); |
9 constructor •() → void | 9 default constructor •() → void |
10 : super core::Object::•() | 10 : super core::Object::•() |
11 ; | 11 ; |
12 } | 12 } |
13 class D extends core::Object { | 13 class D extends core::Object { |
14 field dynamic a = null; | 14 field dynamic a = null; |
15 field dynamic b = 1; | 15 field dynamic b = 1; |
16 field dynamic c = 2.-(3); | 16 field dynamic c = 2.-(3); |
17 constructor •() → void | 17 constructor •() → void |
18 : super core::Object::•() | 18 : super core::Object::•() |
19 ; | 19 ; |
20 } | 20 } |
21 static method main() → dynamic { | 21 static method main() → dynamic { |
22 new self::C::•(); | 22 new self::C::•(); |
23 new self::D::•(); | 23 new self::D::•(); |
24 } | 24 } |
OLD | NEW |