| Index: pkg/analyzer/lib/src/generated/parser.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart
|
| index 47371ef48f0160a27226a66a174f6d3bd443544d..b303cc75d263e2eab566f487c99176c956a4c00c 100644
|
| --- a/pkg/analyzer/lib/src/generated/parser.dart
|
| +++ b/pkg/analyzer/lib/src/generated/parser.dart
|
| @@ -7974,6 +7974,12 @@ class Parser {
|
| }
|
| token = _skipTypeName(token.next);
|
| if (token == null) {
|
| + // If the start token '<' is followed by '>'
|
| + // then assume this should be type argument list but is missing a type
|
| + token = startToken.next;
|
| + if (_tokenMatches(token, TokenType.GT)) {
|
| + return token.next;
|
| + }
|
| return null;
|
| }
|
| while (_tokenMatches(token, TokenType.COMMA)) {
|
|
|