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

Unified Diff: frog/gen.dart

Issue 8947008: When += (and similar operations) are converted to = + , (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 | frog/minfrog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/gen.dart
===================================================================
--- frog/gen.dart (revision 2468)
+++ frog/gen.dart (working copy)
@@ -1870,7 +1870,10 @@
return;
}
return x.invoke(this, name, node, new Arguments(null, [y]));
- } else {
+ } else if ((assignKind != 0) && (node.y is BinaryExpression)){
jimhug 2011/12/15 17:58:10 Final comment: Please add a TODO or unify with par
dgrove 2011/12/15 20:55:51 Done.
+ return _visitAssign(assignKind, node.x,
+ new ParenExpression(node.y, node.y.span), node, null, isVoid);
+ } else {
return _visitAssign(assignKind, node.x, node.y, node, null, isVoid);
}
}
« no previous file with comments | « no previous file | frog/minfrog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698