blob: 3e3646cb2b0c26c00870cbef8f11baebb71e72ba [file] [log] [blame]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/interface_covariantImpl_from_class.dart:17:16: Error: Found unsupported uses of 'T' in supertype 'B'.
// abstract class C<T> extends B<F<T>> implements I<F<T>> {}
// ^
//
// pkg/front_end/testcases/interface_covariantImpl_from_class.dart:17:16: Error: Found unsupported uses of 'T' in supertype 'I'.
// abstract class C<T> extends B<F<T>> implements I<F<T>> {}
// ^
//
import self as self;
import "dart:core" as core;
typedef F<T extends core::Object = dynamic> = (T) void;
class B<T extends core::Object = dynamic> extends core::Object {
synthetic constructor •() self::B<self::B::T>
;
method f((self::B::T) void x, core::int y) void
;
}
abstract class I<T extends core::Object = dynamic> extends core::Object {
synthetic constructor •() self::I<self::I::T>
;
abstract method f((self::I::T) void x, core::Object y) void;
}
abstract class C<T extends core::Object = dynamic> extends core::Object {
synthetic constructor •() self::C<self::C::T>
;
}
static method main() void
;