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

Unified Diff: pkg/compiler/lib/src/parser/node_listener.dart

Issue 2052693002: rename operathor to operator now that vm bug is fixed (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « pkg/compiler/lib/src/parser/listener.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/parser/node_listener.dart
diff --git a/pkg/compiler/lib/src/parser/node_listener.dart b/pkg/compiler/lib/src/parser/node_listener.dart
index b5cb91dca3ffe9b8005eb0f86fb38f41c727a97d..feaa44c7397c5e8823fc2eed767e85e11af9268e 100644
--- a/pkg/compiler/lib/src/parser/node_listener.dart
+++ b/pkg/compiler/lib/src/parser/node_listener.dart
@@ -265,11 +265,11 @@ class NodeListener extends ElementListener {
pushNode(new Cascade(popNode()));
}
- void handleAsOperator(Token operathor, Token endToken) {
+ void handleAsOperator(Token operator, Token endToken) {
TypeAnnotation type = popNode();
Expression expression = popNode();
NodeList arguments = new NodeList.singleton(type);
- pushNode(new Send(expression, new Operator(operathor), arguments));
+ pushNode(new Send(expression, new Operator(operator), arguments));
}
void handleAssignmentExpression(Token token) {
@@ -759,7 +759,7 @@ class NodeListener extends ElementListener {
Modifiers.EMPTY, null, null, asyncModifier));
}
- void handleIsOperator(Token operathor, Token not, Token endToken) {
+ void handleIsOperator(Token operator, Token not, Token endToken) {
TypeAnnotation type = popNode();
Expression expression = popNode();
Node argument;
@@ -770,7 +770,7 @@ class NodeListener extends ElementListener {
}
NodeList arguments = new NodeList.singleton(argument);
- pushNode(new Send(expression, new Operator(operathor), arguments));
+ pushNode(new Send(expression, new Operator(operator), arguments));
}
void handleLabel(Token colon) {
« no previous file with comments | « pkg/compiler/lib/src/parser/listener.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698