| OLD | NEW |
| 1 library test; | 1 library test; |
| 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 core::int x = 2; | |
| 7 constructor •() → void | 6 constructor •() → void |
| 8 : super core::Object::•() | 7 : super core::Object::•() |
| 9 ; | 8 ; |
| 9 set x() → void {} |
| 10 } | 10 } |
| 11 static method test5() → dynamic { | 11 static method f(self::A a) → void { |
| 12 self::A a1 = new self::A::•(); | 12 core::int x = a.{self::A::x} = 0; |
| 13 a1.x = "hi"; | |
| 14 self::A a2 = new self::A::•(); | |
| 15 a2.x = "hi"; | |
| 16 } | 13 } |
| 17 static method main() → dynamic {} | 14 static method main() → dynamic {} |
| OLD | NEW |