blob: 82830213eea7f962eaafdb369c88a24d71767551 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
method call() core::int
return 0;
}
class B extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
get call() self::A
return new self::A::•();
}
class D extends core::Object {
field self::A fieldA = new self::A::•();
field self::B fieldB = new self::B::•();
synthetic constructor •() void
: super core::Object::•()
;
get getA() self::A
return new self::A::•();
get getB() self::B
return new self::B::•();
}
static method main() dynamic {
dynamic callA = new self::A::•().call();
dynamic callFieldA = new self::D::•().fieldA();
dynamic callGetA = new self::D::•().getA();
dynamic callFieldB = new self::D::•().fieldB();
dynamic callGetB = new self::D::•().getB();
}