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 A extends core::Object { | 5 class A extends core::Object { |
6 field dynamic field = null; | 6 field dynamic field = null; |
7 constructor •() → void | 7 constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
(...skipping 23 matching lines...) Expand all Loading... |
34 x.field = 45; | 34 x.field = 45; |
35 } | 35 } |
36 } | 36 } |
37 static method main() → dynamic { | 37 static method main() → dynamic { |
38 self::X object = new self::X::•(); | 38 self::X object = new self::X::•(); |
39 self::useAsA(new self::A::•()); | 39 self::useAsA(new self::A::•()); |
40 self::useAsA(object); | 40 self::useAsA(object); |
41 self::useAsB(new self::B::•()); | 41 self::useAsB(new self::B::•()); |
42 self::useAsB(object); | 42 self::useAsB(object); |
43 } | 43 } |
OLD | NEW |