blob: c5c05d24e2d32a1a4ef9bf5cbacd97f4a618b1ea [file]
library;
import self as self;
import "dart:core" as core;
class Foo extends core::Object {
field self::Bar _field = new self::Bar::•();
synthetic constructor •() → self::Foo
: super core::Object::•()
;
}
class Bar extends core::Object {
synthetic constructor •() → self::Bar
: super core::Object::•()
;
}
static method useCallback(dynamic callback) → dynamic {
dynamic _ = callback{dynamic}.call();
}
static method main() → dynamic {
dynamic x;
function inner() → self::Foo {
x = new self::Foo::•();
return new self::Foo::•();
}
self::useCallback(inner);
self::Bar _ = inner(){() → self::Foo}.{self::Foo::_field}{self::Bar};
}