blob: e0630b5bc8505348d83a8efc50379f3df43d9d49 [file] [log] [blame]
// Formatted problems:
//
// pkg/front_end/testcases/instantiate_to_bound/non_simple_variables_from_same.dart:12:12: Error: Generic type 'Hest' can't be used without type arguments in a type variable bound.
// Try providing type arguments to 'Hest' here.
// class Fisk<TypeY extends Hest> {}
// ^^^^^
// pkg/front_end/testcases/instantiate_to_bound/non_simple_variables_from_same.dart:10:12: Error: Bound of this variable references variable 'TypeX' from the same declaration.
// class Hest<TypeX extends Hest<TypeX>> {}
// ^^^^^
// Unhandled errors:
//
// pkg/front_end/testcases/instantiate_to_bound/non_simple_variables_from_same.dart:12:12: Error: Generic type 'Hest' can't be used without type arguments in a type variable bound.
// Try providing type arguments to 'Hest' here.
// class Fisk<TypeY extends Hest> {}
// ^^^^^
library;
import self as self;
import "dart:core" as core;
class Hest<TypeX extends self::Hest<self::Hest::TypeX> = self::Hest<dynamic>> extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
}
class Fisk<TypeY extends self::Hest<self::Hest<dynamic>> = dynamic> extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
}
static method main() dynamic {}