diff --git a/tools/spec_parser/Dart.g b/tools/spec_parser/Dart.g index 7d35041dd40..2ee2a704692 100644 --- a/tools/spec_parser/Dart.g +++ b/tools/spec_parser/Dart.g @@ -827,7 +827,7 @@ selector ; argumentPart - : typeArguments? arguments + : '?'? typeArguments? arguments ; incrementOperator @@ -854,7 +854,7 @@ unconditionalAssignableSelector assignableSelector : unconditionalAssignableSelector | '?.' identifier - | '?.[' expression ']' + | '?' '[' expression ']' ; identifierNotFUNCTION