Index: pkg/analyzer/lib/src/fasta/ast_builder.dart |
diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
index 9ddc36948b1bcba7351c9d757cdeaa88ae1c9f6d..8867116f310978a321f6b5d383f3fe5725aeacee 100644 |
--- a/pkg/analyzer/lib/src/fasta/ast_builder.dart |
+++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
@@ -1067,7 +1067,7 @@ class AstBuilder extends ScopeListener { |
} |
void handleIndexedExpression( |
- Token openCurlyBracket, Token closeCurlyBracket) { |
+ Token openSquareBracket, Token closeSquareBracket) { |
debugEvent("IndexedExpression"); |
Expression index = pop(); |
Expression target = pop(); |
@@ -1076,12 +1076,12 @@ class AstBuilder extends ScopeListener { |
Token token = peek(); |
push(receiver); |
IndexExpression expression = ast.indexExpressionForCascade( |
- token, openCurlyBracket, index, closeCurlyBracket); |
+ token, openSquareBracket, index, closeSquareBracket); |
assert(expression.isCascaded); |
push(expression); |
} else { |
push(ast.indexExpressionForTarget( |
- target, openCurlyBracket, index, closeCurlyBracket)); |
+ target, openSquareBracket, index, closeSquareBracket)); |
} |
} |