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

Unified Diff: frog/minfrog

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
Index: frog/minfrog
===================================================================
--- frog/minfrog (revision 2468)
+++ frog/minfrog (working copy)
@@ -3574,6 +3574,9 @@
}
return x.invoke$4(this, name, node, new Arguments(null, [y]));
}
+ else if ((assignKind != 0) && ((node.y instanceof BinaryExpression))) {
+ return this._visitAssign(assignKind, node.x, new ParenExpression(node.y, node.y.span), node, to$call$1(null), isVoid);
+ }
else {
return this._visitAssign(assignKind, node.x, node.y, node, to$call$1(null), isVoid);
}
« frog/gen.dart ('K') | « frog/gen.dart ('k') | tests/language/src/AssignOpTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698