blob: 31a3f99c7e5f34aee2b492e5e199b06b15530360 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class A<T extends core::Object> extends core::Object {
final field self::A::T x = null;
final field self::A::T w = null;
default constructor •() void
: super core::Object::•()
;
}
class B extends core::Object implements self::A<core::int> {
default constructor •() void
: super core::Object::•()
;
get x() core::int
return 3;
get w() core::int
return "hello" as{TypeError} core::int;
}
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};
}
static method main() dynamic {}