| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/instantiate_to_bound/non_simple_from_compiled.dart:15:9: Error: Generic type 'LinkedListEntry' can't be used without type arguments in a type variable bound. |
| // Try providing type arguments to 'LinkedListEntry' here. |
| // class A<X extends LinkedListEntry> {} |
| // ^ |
| // |
| // pkg/front_end/testcases/instantiate_to_bound/non_simple_from_compiled.dart:17:13: Error: Generic type 'LinkedListEntry' can't be used without type arguments in a type variable bound. |
| // Try providing type arguments to 'LinkedListEntry' here. |
| // extension B<X extends LinkedListEntry> on int {} |
| // ^ |
| // |
| // pkg/front_end/testcases/instantiate_to_bound/non_simple_from_compiled.dart:19:11: Error: Generic type 'LinkedListEntry' can't be used without type arguments in a type variable bound. |
| // Try providing type arguments to 'LinkedListEntry' here. |
| // typedef C<X extends LinkedListEntry> = int; |
| // ^ |
| // |
| import self as self; |
| import "dart:collection" as col; |
| import "dart:core" as core; |
| |
| import "dart:collection"; |
| |
| typedef C<unrelated X extends col::LinkedListEntry<col::LinkedListEntry<dynamic>> = dynamic> = core::int; |
| class A<X extends col::LinkedListEntry<col::LinkedListEntry<dynamic>> = dynamic> extends core::Object { |
| synthetic constructor •() → self::A<self::A::X> |
| : super core::Object::•() |
| ; |
| } |
| extension B<X extends col::LinkedListEntry<col::LinkedListEntry<dynamic>> = dynamic> on core::int { |
| } |
| static method main() → dynamic {} |
| static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#C#fromEnvironment#tearOff<unrelated X extends col::LinkedListEntry<col::LinkedListEntry<dynamic>> = dynamic>(core::String name, {core::int defaultValue = #C1}) → core::int |
| return core::int::fromEnvironment(name, defaultValue: defaultValue); |
| |
| constants { |
| #C1 = 0 |
| } |