| 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 d9e8d6e841f1b31a9f959bb4a71b9d2db07fa5e2..4430e76a7148572e28e47b0742553acf384c1bdf 100644
|
| --- a/pkg/analyzer/lib/src/generated/parser.dart
|
| +++ b/pkg/analyzer/lib/src/generated/parser.dart
|
| @@ -4269,6 +4269,9 @@ class Parser {
|
| _inInitializer = wasInInitializer;
|
| }
|
| } else if (type == TokenType.LT || _injectGenericCommentTypeList()) {
|
| + if (isFunctionExpression(currentToken)) {
|
| + return parseFunctionExpression();
|
| + }
|
| return parseListOrMapLiteral(null);
|
| } else if (type == TokenType.OPEN_CURLY_BRACKET) {
|
| return parseMapLiteral(null, null);
|
|
|