OLD | NEW |
| (Empty) |
1 library; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 | |
5 class Uninitialized extends core::Object { | |
6 field core::int x = null; | |
7 constructor •() → void | |
8 : super core::Object::•() | |
9 ; | |
10 } | |
11 class PartiallyInitialized extends core::Object { | |
12 field core::int x = null; | |
13 constructor •(core::int x) → void | |
14 : self::PartiallyInitialized::x = x, super core::Object::•() | |
15 ; | |
16 constructor noInitializer() → void | |
17 : super core::Object::•() | |
18 ; | |
19 } | |
20 class Initialized extends core::Object { | |
21 field core::int x; | |
22 constructor •(core::int x) → void | |
23 : self::Initialized::x = x, super core::Object::•() | |
24 ; | |
25 } | |
26 class Forwarding extends core::Object { | |
27 field core::int x; | |
28 constructor initialize(core::int x) → void | |
29 : self::Forwarding::x = x, super core::Object::•() | |
30 ; | |
31 constructor •(core::int arg) → void | |
32 : this self::Forwarding::initialize(arg) | |
33 ; | |
34 } | |
35 static field core::int uninitializedTopLevel = null; | |
36 static field core::int initializedTopLevel = 4; | |
37 static method main() → dynamic {} | |
OLD | NEW |