blob: be09f2e975140f0f0fc37d8d246077e51c6e38ad [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(covariant-by-class self::C::T? x) void {}
}
static method g1(self::C<core::num> c) void {
c.{self::C::f}(1.5){(core::num?) void};
}
static method g2(self::C<core::int> c) void {
c.{self::C::f}(1){(core::int?) void};
}
static method g3(self::C<core::num> c) void {
c.{self::C::f}(null){(core::num?) void};
}
static method main() dynamic {}