blob: 0f3d05d83903bd9dea69f79cbb5c56b1dd914954 [file] [log] [blame]
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.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.call().{self::Foo::_field};
}