blob: 1533f83ef97f2064968719f739bcad8ea2c7e0d0 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class C<T extends core::Object = dynamic> extends core::Object {
synthetic constructor •() self::C<self::C::T>
: super core::Object::•()
;
method f(generic-covariant-impl self::C::T x) void {}
}
static method g1(self::C<core::num> c) void {
c.{self::C::f}(1.5);
}
static method g2(self::C<core::int> c) void {
c.{self::C::f}(1);
}
static method g3(self::C<core::num> c) void {
c.{self::C::f}(null);
}
static method main() dynamic {}