blob: 29a4ab766dede5aa06a61035cdcf10244c163a7c [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class B extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
}
class C extends self::B {
field dynamic z = null;
synthetic constructor •() void
: super self::B::•()
;
}
static method test(self::B x) void {
dynamic y = x is self::C ? x{self::C} : new self::C::•();
core::print(y.z);
}
static method main() dynamic {}