blob: 5552a2d0d9f3e010bed543a052e3cb2ab50df2a4 [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 •() void
: super core::Object::•()
;
method f(generic-covariant-impl generic-covariant-interface 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 {}