blob: b9e4e43ead9ebafe19c8b5219d5d485b39d2aefc [file] [log] [blame]
library /*isNonNullableByDefault*/;
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};
}