blob: 31e065013861f1b40ef7bb3fe41470688a1aef34 [file] [log] [blame]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/interface_contravariant_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_contravariant_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(core::int x) self::B::T
;
}
abstract class I<T extends core::Object = dynamic> extends core::Object {
synthetic constructor •() self::I<self::I::T>
;
abstract method f(core::Object x) self::I::T;
}
abstract class C<T extends core::Object = dynamic> extends core::Object {
synthetic constructor •() self::C<self::C::T>
;
}
static method main() void
;