| 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 abstract class Base extends core::Object { | 5 abstract class Base extends core::Object { |
| 6 constructor •() → void | 6 default constructor •() → void |
| 7 : super core::Object::•() | 7 : super core::Object::•() |
| 8 ; | 8 ; |
| 9 } | 9 } |
| 10 class Foo extends self::Base { | 10 class Foo extends self::Base { |
| 11 constructor •() → void | 11 default constructor •() → void |
| 12 : super self::Base::•() | 12 : super self::Base::•() |
| 13 ; | 13 ; |
| 14 } | 14 } |
| 15 class Bar extends self::Base { | 15 class Bar extends self::Base { |
| 16 constructor •() → void | 16 default constructor •() → void |
| 17 : super self::Base::•() | 17 : super self::Base::•() |
| 18 ; | 18 ; |
| 19 } | 19 } |
| 20 class Baz extends self::Base { | 20 class Baz extends self::Base { |
| 21 constructor •() → void | 21 default constructor •() → void |
| 22 : super self::Base::•() | 22 : super self::Base::•() |
| 23 ; | 23 ; |
| 24 } | 24 } |
| 25 static method foo(dynamic x) → void {} | 25 static method foo(dynamic x) → void {} |
| 26 static method bar(dynamic x) → void {} | 26 static method bar(dynamic x) → void {} |
| 27 static method foo_escaped(dynamic x) → void {} | 27 static method foo_escaped(dynamic x) → void {} |
| 28 static method bar_escaped(dynamic x) → void {} | 28 static method bar_escaped(dynamic x) → void {} |
| 29 static method escape(dynamic fn) → void { | 29 static method escape(dynamic fn) → void { |
| 30 fn.call(new self::Baz::•()); | 30 fn.call(new self::Baz::•()); |
| 31 } | 31 } |
| 32 static method main() → dynamic { | 32 static method main() → dynamic { |
| 33 self::foo(new self::Foo::•()); | 33 self::foo(new self::Foo::•()); |
| 34 self::bar(new self::Bar::•()); | 34 self::bar(new self::Bar::•()); |
| 35 self::escape(self::foo_escaped); | 35 self::escape(self::foo_escaped); |
| 36 self::escape(self::bar_escaped); | 36 self::escape(self::bar_escaped); |
| 37 } | 37 } |
| OLD | NEW |