Chromium Code Reviews
DescriptionDon't lose the expected precedence during && compilation.
When transforming if (foo) bar; to foo && bar make sure that
bar is compiled with the correct precedence.
In particular avoid foo && toto = 499;
instead of
foo && (toto = 499).
Fixes issue 3862.
Committed: https://code.google.com/p/dart/source/detail?r=9157
Patch Set 1 #Patch Set 2 : Add test. #Patch Set 3 : Protect non-assignments in define. #
Total comments: 12
Patch Set 4 : Address comments #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|
||||||||||||||||||||||||||||