| 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 C extends core::Object { | 5 class C extends core::Object { |
| 6 constructor •() → self::C | 6 constructor •() → self::C |
| 7 : super core::Object::•(); | 7 : super core::Object::•(); |
| 8 method test() → dynamic { | 8 method m(dynamic x) → dynamic |
| 9 self::use(invalid-expression); | 9 return this.call(x); |
| 10 } | 10 method call(dynamic x) → dynamic |
| 11 return 42; |
| 11 } | 12 } |
| 12 static method use(dynamic _) → dynamic | |
| 13 return null; | |
| 14 static method main() → dynamic { | 13 static method main() → dynamic { |
| 15 new self::C::•().test(); | 14 core::print(new self::C::•().m(42)); |
| 16 } | 15 } |
| OLD | NEW |