| library /*isNonNullableByDefault*/; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/instantiate_to_bound/non_simple_many_libs_same_name_cycle.dart:11:7: Error: Generic type 'Hest' can't be used without type arguments in the bounds of its own type variables. It is referenced indirectly through 'Hest'. |
| // Try providing type arguments to 'Hest' here or to some other raw types in the bounds along the reference chain. |
| // class Hest<TypeX extends lib.Hest> {} |
| // ^^^^ |
| // pkg/front_end/testcases/instantiate_to_bound/non_simple_many_libs_same_name_cycle.dart:11:12: Context: Bound of this variable references raw type 'Hest'. |
| // class Hest<TypeX extends lib.Hest> {} |
| // ^^^^^ |
| // pkg/front_end/testcases/instantiate_to_bound/non_simple_many_libs_same_name_cycle_lib.dart:16:12: Context: Bound of this variable references raw type 'Hest'. |
| // class Hest<TypeY extends lib.Hest> {} |
| // ^^^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| import "org-dartlang-testcase:///non_simple_many_libs_same_name_cycle_lib.dart" as lib; |
| |
| class Hest<TypeX extends core::Object? = dynamic> extends core::Object { |
| synthetic constructor •() → self::Hest<self::Hest::TypeX%> |
| : super core::Object::•() |
| ; |
| } |
| static method main() → dynamic {} |
| |
| library non_simple_many_libs_same_name_cycle_lib /*isNonNullableByDefault*/; |
| import self as self2; |
| import "non_simple_many_libs_same_name_cycle.dart" as self; |
| import "dart:core" as core; |
| |
| import "org-dartlang-testcase:///non_simple_many_libs_same_name_cycle.dart" as lib; |
| |
| class Hest<TypeY extends self::Hest<dynamic>> extends core::Object { |
| synthetic constructor •() → self2::Hest<self2::Hest::TypeY> |
| : super core::Object::•() |
| ; |
| } |