blob: e89a46acbfdbfefaaae13e87a91d4a7122377ac1 [file] [log] [blame]
// Formatted problems:
//
// pkg/front_end/testcases/instantiate_to_bound/non_simple_bound_due_to_non_simple.dart:12:9: Error: Generic type 'A' can't be used without type arguments in a type variable bound.
// Try providing type arguments to 'A' here.
// class B<TypeU extends A> {}
// ^^^^^
// pkg/front_end/testcases/instantiate_to_bound/non_simple_bound_due_to_non_simple.dart:10:16: Context: Bound of this variable references variable 'TypeT' from the same declaration.
// class A<TypeT, TypeS extends TypeT> {}
// ^^^^^
// Unhandled errors:
//
// pkg/front_end/testcases/instantiate_to_bound/non_simple_bound_due_to_non_simple.dart:12:9: Error: Generic type 'A' can't be used without type arguments in a type variable bound.
// Try providing type arguments to 'A' here.
// class B<TypeU extends A> {}
// ^^^^^
library;
import self as self;
import "dart:core" as core;
class A<TypeT extends core::Object = dynamic, TypeS extends self::A::TypeT = dynamic> extends core::Object {
synthetic constructor •() self::A<self::A::TypeT, self::A::TypeS>
: super core::Object::•()
;
}
class B<TypeU extends self::A<dynamic, dynamic> = dynamic> extends core::Object {
synthetic constructor •() self::B<self::B::TypeU>
: super core::Object::•()
;
}
class C<TypeV extends self::B<dynamic> = self::B<dynamic>> extends core::Object {
synthetic constructor •() self::C<self::C::TypeV>
: super core::Object::•()
;
}
static field self::C<self::B<dynamic>> c;
static method main() dynamic {}