| library; | |
| import self as self; | |
| import "dart:core" as core; | |
| class Bar extends core::Object { | |
| synthetic constructor •() → self::Bar | |
| : super core::Object::•() | |
| ; | |
| method call() → void {} | |
| } | |
| static method foo() → void | |
| return core::print("foo"); | |
| static method main() → dynamic { | |
| (() → void, self::Bar) r = (#C1, new self::Bar::•()); | |
| r.$1{() → void}(){() → void}; | |
| r.$2{self::Bar}.{self::Bar::call}(){() → void}; | |
| } | |
| constants { | |
| #C1 = static-tearoff self::foo | |
| } |