| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/regress/issue_31188.dart:7:17: Error: Expected ';' after this. |
| // type T = Map<A, B> |
| // ^ |
| // |
| // pkg/front_end/testcases/regress/issue_31188.dart:7:18: Error: Expected a declaration, but got '>'. |
| // type T = Map<A, B> |
| // ^ |
| // |
| // pkg/front_end/testcases/regress/issue_31188.dart:7:1: Error: Type 'type' not found. |
| // type T = Map<A, B> |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/regress/issue_31188.dart:7:1: Error: 'type' isn't a type. |
| // type T = Map<A, B> |
| // ^^^^ |
| // |
| // pkg/front_end/testcases/regress/issue_31188.dart:7:14: Error: Getter not found: 'A'. |
| // type T = Map<A, B> |
| // ^ |
| // |
| // pkg/front_end/testcases/regress/issue_31188.dart:7:13: Error: The operator '<' isn't defined for the class 'Type'. |
| // - 'Type' is from 'dart:core'. |
| // Try correcting the operator to an existing operator, or defining a '<' operator. |
| // type T = Map<A, B> |
| // ^ |
| // |
| import self as self; |
| |
| static field invalid-type T = invalid-expression "pkg/front_end/testcases/regress/issue_31188.dart:7:13: Error: The operator '<' isn't defined for the class 'Type'. |
| - 'Type' is from 'dart:core'. |
| Try correcting the operator to an existing operator, or defining a '<' operator. |
| type T = Map<A, B> |
| ^"; |
| static field invalid-type B; |
| static method main() → dynamic {} |