blob: ae65387dc98ee68050089ea9fa25d2a90b61ea2b [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/instantiate_to_bound/non_simple_suppress_consequence.dart:11: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_suppress_consequence.dart:9:12: Context: Bound of this variable references variable 'TypeX' from the same declaration.
// class Hest<TypeX extends Hest<TypeX>> {}
// ^^^^^
//
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 •() self::Hest<self::Hest::TypeX>
: super core::Object::•()
;
}
class Fisk<TypeY extends self::Hest<self::Hest<dynamic>> = dynamic> extends core::Object {
synthetic constructor •() self::Fisk<self::Fisk::TypeY>
: super core::Object::•()
;
}
class Naebdyr<TypeZ extends self::Fisk<dynamic> = self::Fisk<dynamic>> extends core::Object {
synthetic constructor •() self::Naebdyr<self::Naebdyr::TypeZ>
: super core::Object::•()
;
}
static method main() dynamic {}