blob: 5ae9bde3cd17c271dae7d173ac08556bfe456ab5 [file] [log] [blame]
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, TypeZ extends self::Hest<self::Hest<dynamic>> = dynamic> extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
}
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/instantiate_to_bound/non_simple_for_each.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, TypeZ extends Hest> {}
^^^^^", "pkg/front_end/testcases/instantiate_to_bound/non_simple_for_each.dart:11:32: 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, TypeZ extends Hest> {}
^^^^^"]/* from null */;
static method main() → dynamic {}