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