blob: fe4164c3cd2db4f22635b91dd41c40d9ca3e4613 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
abstract class I<T extends core::Object* = dynamic> extends core::Object {
synthetic constructor •() self::I<self::I::T*>*
: super core::Object::•()
;
abstract method f1(generic-covariant-impl self::I::T* x) void;
abstract method f2(generic-covariant-impl self::I::T* x) void;
abstract member-signature get _identityHashCode() core::int*; -> core::Object::_identityHashCode
abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*; -> core::Object::_instanceOf
abstract member-signature method _simpleInstanceOf(dynamic type) core::bool*; -> core::Object::_simpleInstanceOf
abstract member-signature method _simpleInstanceOfTrue(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfTrue
abstract member-signature method _simpleInstanceOfFalse(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfFalse
abstract member-signature operator ==(dynamic other) core::bool*; -> core::Object::==
abstract member-signature get hashCode() core::int*; -> core::Object::hashCode
abstract member-signature method toString() core::String*; -> core::Object::toString
abstract member-signature method noSuchMethod(core::Invocation* invocation) dynamic; -> core::Object::noSuchMethod
abstract member-signature get runtimeType() core::Type*; -> core::Object::runtimeType
}
class C<U extends core::Object* = dynamic> extends core::Object implements self::I<core::int*> {
synthetic constructor •() self::C<self::C::U*>*
: super core::Object::•()
;
method f1(generic-covariant-impl core::int* x) void {}
method f2(generic-covariant-impl core::int* x, [generic-covariant-impl self::C::U* y = #C1]) → void {}
abstract member-signature get _identityHashCode() core::int*; -> core::Object::_identityHashCode
abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*; -> core::Object::_instanceOf
abstract member-signature method _simpleInstanceOf(dynamic type) core::bool*; -> core::Object::_simpleInstanceOf
abstract member-signature method _simpleInstanceOfTrue(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfTrue
abstract member-signature method _simpleInstanceOfFalse(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfFalse
abstract member-signature operator ==(dynamic other) core::bool*; -> core::Object::==
abstract member-signature get hashCode() core::int*; -> core::Object::hashCode
abstract member-signature method toString() core::String*; -> core::Object::toString
abstract member-signature method noSuchMethod(core::Invocation* invocation) dynamic; -> core::Object::noSuchMethod
abstract member-signature get runtimeType() core::Type*; -> core::Object::runtimeType
}
class D<U extends core::Object* = dynamic> extends self::C<self::D::U*> {
synthetic constructor •() self::D<self::D::U*>*
: super self::C::•()
;
method f1(generic-covariant-impl core::int* x) void {}
method f2(generic-covariant-impl core::int* x, [generic-covariant-impl self::D::U* y = #C1]) → void {}
}
static method g1(self::C<core::num*>* c) void {
c.{self::C::f1}(1);
}
static method g2(self::I<core::num*>* i) void {
i.{self::I::f1}(1.5);
}
static method g3(self::C<core::num*>* c) void {
c.{self::C::f2}(1, 1.5);
}
static method g4(self::D<core::num*>* d) void {
d.{self::D::f1}(1);
}
static method g5(self::D<core::num*>* d) void {
d.{self::D::f2}(1, 1.5);
}
static method test() void {
self::g2(new self::C::•<core::num*>());
}
static method main() void {}
constants {
#C1 = null
}