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 { | |
self::C y = x is self::C ?{self::C} x{self::C} : new self::C::•(); | |
core::print(y.{self::C::z}); | |
} | |
static method main() → dynamic {} |