| 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 Foo extends core::Object { | 5 class Foo extends core::Object { |
| 6 field self::Bar _field = new self::Bar::•(); | 6 field self::Bar _field = new self::Bar::•(); |
| 7 constructor •() → void | 7 constructor •() → void |
| 8 : super core::Object::•() | 8 : super core::Object::•() |
| 9 ; | 9 ; |
| 10 } | 10 } |
| 11 class Bar extends core::Object { | 11 class Bar extends core::Object { |
| 12 constructor •() → void | 12 constructor •() → void |
| 13 : super core::Object::•() | 13 : super core::Object::•() |
| 14 ; | 14 ; |
| 15 } | 15 } |
| 16 static method useCallback(dynamic callback) → dynamic { | 16 static method useCallback(dynamic callback) → dynamic { |
| 17 dynamic _ = callback.call(); | 17 dynamic _ = callback.call(); |
| 18 } | 18 } |
| 19 static method main() → dynamic { | 19 static method main() → dynamic { |
| 20 dynamic x; | 20 dynamic x; |
| 21 function inner() → dynamic { | 21 function inner() → dynamic { |
| 22 x = new self::Foo::•(); | 22 x = new self::Foo::•(); |
| 23 return new self::Foo::•(); | 23 return new self::Foo::•(); |
| 24 } | 24 } |
| 25 self::useCallback(inner); | 25 self::useCallback(inner); |
| 26 self::Bar _ = inner.call().{self::Foo::_field}; | 26 self::Bar _ = inner.call().{self::Foo::_field}; |
| 27 } | 27 } |
| OLD | NEW |