ceylon-dart
ceylon-dart copied to clipboard
optimize ++, --, +=, etc. operators for qualified expression targets
While not specified AFAICT, expressions like:
obj.attribute++
and
obj.attribute += 1
should evaluate obj
only once. This especially matters if obj
has side effects.
Edit: and for postfix increment and decrement operators, attribute
should only be evaluated once.