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

Issue 8947008: When += (and similar operations) are converted to = + , (Closed)

Created:
9 years ago by dgrove
Modified:
9 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

When += (and similar operations) are converted to = + , we may need to parenthesize the original RHS. BUG=849 Committed: https://code.google.com/p/dart/source/detail?r=2478

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -4 lines) Patch
M frog/gen.dart View 1 2 3 4 5 6 3 chunks +10 lines, -3 lines 0 comments Download
M frog/minfrog View 1 2 3 4 5 6 3 chunks +7 lines, -1 line 0 comments Download
M tests/language/src/AssignOpTest.dart View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dgrove
9 years ago (2011-12-15 01:47:27 UTC) #1
Jennifer Messerly
lgtm
9 years ago (2011-12-15 01:52:12 UTC) #2
jimhug
Thanks for the fix! In the future, could you be sure to run presubmit.py to ...
9 years ago (2011-12-15 17:28:00 UTC) #3
jimhug
http://codereview.chromium.org/8947008/diff/6001/frog/gen.dart File frog/gen.dart (right): http://codereview.chromium.org/8947008/diff/6001/frog/gen.dart#newcode1876 frog/gen.dart:1876: TokenKind.infixPrecedence(assignKind)) { I would prefer not to include this ...
9 years ago (2011-12-15 17:43:18 UTC) #4
dgrove
http://codereview.chromium.org/8947008/diff/6001/frog/gen.dart File frog/gen.dart (right): http://codereview.chromium.org/8947008/diff/6001/frog/gen.dart#newcode1876 frog/gen.dart:1876: TokenKind.infixPrecedence(assignKind)) { It doesn't any changes in minfrog, for ...
9 years ago (2011-12-15 17:51:45 UTC) #5
jimhug
http://codereview.chromium.org/8947008/diff/3005/frog/gen.dart File frog/gen.dart (right): http://codereview.chromium.org/8947008/diff/3005/frog/gen.dart#newcode1873 frog/gen.dart:1873: } else if ((assignKind != 0) && (node.y is ...
9 years ago (2011-12-15 17:58:03 UTC) #6
dgrove
http://codereview.chromium.org/8947008/diff/3005/frog/gen.dart File frog/gen.dart (right): http://codereview.chromium.org/8947008/diff/3005/frog/gen.dart#newcode1873 frog/gen.dart:1873: } else if ((assignKind != 0) && (node.y is ...
9 years ago (2011-12-15 20:55:51 UTC) #7
jimhug
9 years ago (2011-12-16 16:41:37 UTC) #8
LGTM!

Powered by Google App Engine
This is Rietveld 408576698