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