Chromium Code Reviews
DescriptionVM: Fix bug with evaluation order of static setter invocation.
This fixes the case for an assignment of the form
v=e
where v is unknown. The right-hand side of the assignment
has to be evaluated before throwing a NoSuchMethodError.
I moved the generation of the NoSuchMethodError out of
the parser to the flow-graph builder, where the right-hand side
argument is evaluated before throwing.
BUG=https://code.google.com/p/dart/issues/detail?id=13494
TEST=co19/Language/12_Expressions/18_Assignment_A01_t07
R=hausner@google.com
Committed: https://code.google.com/p/dart/source/detail?r=28723
Patch Set 1 #
Total comments: 3
Patch Set 2 : #Patch Set 3 : rebased #
Messages
Total messages: 7 (0 generated)
|
||||||||||||||||||||||||||||