blob: b8aaf798f58dcb804872b62e838c352a6daeb287 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class A extends core::Object {
field dynamic x = null;
synthetic constructor •() void
: super core::Object::•()
;
}
class B extends core::Object implements self::A {
field dynamic x = 2;
synthetic constructor •() void
: super core::Object::•()
;
}
static method foo() dynamic {
core::String y = new self::B::•().{self::B::x} as{TypeError} core::String;
core::int z = new self::B::•().{self::B::x} as{TypeError} core::int;
}
static method main() dynamic {}