Chromium Code Reviews
DescriptionRemove some appending behavior from GN.
Remove operator += and -= to append/remove a non-list to/from a list. Now you will have to wrap a single item in [] if you want to add or remove it. This makes the syntax more uniform since people were doing it randomly with and without [].
This removes the error of assigning to an unused variable. This ended up being too much of a bother, and causing errors in cases were you wouldn't expect it.
R=scottmg@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247202
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 5 (0 generated)
|
||||||||||||||||||||||||||||