blob: 5c019023956990e838952bd6cfee4c9eab47dfc0 [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::•()
;
method f(core::int x) void {}
}
abstract class I<T extends core::Object = dynamic> extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
abstract method f(self::I::T x) void;
}
class C extends self::B implements self::I<core::int> {
synthetic constructor •() void
: super self::B::•()
;
}
static method g1(self::C c) void {
c.f(1);
}
static method g2(self::I<core::num> i) void {
i.f(1.5);
}
static method test() void {
self::g2(new self::C::•());
}
static method main() void {}