Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: pkg/analyzer/lib/src/fasta/ast_builder.dart

Issue 2935833002: Fix argument names for handleIndexedExpression. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/fasta/summary_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/fasta/summary_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698