| 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 ea41c985f8a75d59658d1c4392f2600a62ac7507..58571133ee7eab58999afd80b9c14dd00fb58ff3 100644
|
| --- a/pkg/analyzer/lib/src/generated/parser.dart
|
| +++ b/pkg/analyzer/lib/src/generated/parser.dart
|
| @@ -5653,9 +5653,9 @@ class Parser {
|
| Token next = null;
|
| if (_atGenericFunctionTypeAfterReturnType(startToken)) {
|
| next = skipGenericFunctionTypeAfterReturnType(startToken);
|
| - } else if (_currentToken.keyword == Keyword.VOID &&
|
| - _atGenericFunctionTypeAfterReturnType(_currentToken.next)) {
|
| - next = next.next;
|
| + } else if (startToken.keyword == Keyword.VOID &&
|
| + _atGenericFunctionTypeAfterReturnType(startToken.next)) {
|
| + next = startToken.next;
|
| } else {
|
| next = skipTypeName(startToken);
|
| }
|
|
|