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 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 { |
(...skipping 17 matching lines...) Expand all Loading... |
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 |