Index: pkg/analyzer/test/generated/parser_test.dart |
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart |
index 61d65771a1e4b0bb3eff4cb51382e363d3e4e544..2465b13535a58156175862d0f46563f488367872 100644 |
--- a/pkg/analyzer/test/generated/parser_test.dart |
+++ b/pkg/analyzer/test/generated/parser_test.dart |
@@ -3123,6 +3123,14 @@ class RecoveryParserTest extends ParserTestCase { |
BinaryExpression, expression.leftOperand); |
} |
+ void test_assignableSelector() { |
+ IndexExpression expression = |
+ parseExpression("a.b[]", [ParserErrorCode.MISSING_IDENTIFIER]); |
+ Expression index = expression.index; |
+ expect(index, new isInstanceOf<SimpleIdentifier>()); |
+ expect(index.isSynthetic, isTrue); |
+ } |
+ |
void test_assignmentExpression_missing_compound1() { |
AssignmentExpression expression = |
parseExpression("= y = 0", [ParserErrorCode.MISSING_IDENTIFIER]); |