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

Unified Diff: lib/compiler/implementation/tree/nodes.dart

Issue 10697003: Various token issues fixed in the compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unit tests updated, co19 status updated. Created 8 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
Index: lib/compiler/implementation/tree/nodes.dart
diff --git a/lib/compiler/implementation/tree/nodes.dart b/lib/compiler/implementation/tree/nodes.dart
index 31a392c744abbac48924d23b5a8ec090da40ebba..ad590b2a525dc9264c8333ab16c8bcf6d420538f 100644
--- a/lib/compiler/implementation/tree/nodes.dart
+++ b/lib/compiler/implementation/tree/nodes.dart
@@ -356,8 +356,8 @@ class SendSet extends Send {
}
Token getEndToken() {
- if (isPrefix) return super.getEndToken();
- return assignmentOperator.getEndToken();
+ if (isPostfix) return assignmentOperator.getEndToken();
+ return super.getEndToken();
}
}

Powered by Google App Engine
This is Rietveld 408576698