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 } |
11 class B extends self::A { | 11 class B extends self::A { |
12 constructor •() → void | 12 constructor •() → void |
13 : super self::A::•() | 13 : super self::A::•() |
14 ; | 14 ; |
15 method m() → dynamic { | 15 method m() → dynamic { |
16 this.{=self::A::field} = 42; | 16 super.{self::A::field} = 42; |
17 } | 17 } |
18 } | 18 } |
19 static method main() → dynamic { | 19 static method main() → dynamic { |
20 new self::B::•().m(); | 20 new self::B::•().m(); |
21 } | 21 } |
OLD | NEW |