blob: 74a8ecd5005502542502f2b2d7538565c215251c [file] [log] [blame]
library test;
import self as self;
import "./infer_type_regardless_of_declaration_order_or_cycles_b.dart" as inf;
import "dart:core" as core;
class C extends inf::B {
default constructor •() void
: super inf::B::•()
;
get x() core::int
return null;
}
class A extends core::Object {
default constructor •() void
: super core::Object::•()
;
get x() core::int
return 0;
}
static method foo() dynamic {
core::int y = new self::C::•().{self::C::x};
core::String z = new self::C::•().{self::C::x} as{TypeError} core::String;
}
static method main() dynamic {
self::foo();
}