Chromium Code Reviews
DescriptionFix VariableDefinitions.endToken for formal parameters.
This makes the end token point to that parameter name instead of the next token (comma or right parenthesis).
I could not find a way to test the unparsing of a parameter outside its context, that is outside the parameter list it resides in. All tests unparser(2)_test test parameters in their context.
Token positions for operator - arity checks updated now that parameter positions are precise.
Committed: https://code.google.com/p/dart/source/detail?r=17705
Committed: https://code.google.com/p/dart/source/detail?r=18120
Patch Set 1 #
Total comments: 1
Patch Set 2 : Test added to unparser_test. #
Total comments: 10
Patch Set 3 : Updated cf. comments. #
Total comments: 10
Patch Set 4 : Rebased #Patch Set 5 : VariableDefinitions.endToken removed. #Patch Set 6 : Rebased #Patch Set 7 : Handle for-in. #
Total comments: 4
Patch Set 8 : Rebased #Patch Set 9 : Updated cf. comments. #Messages
Total messages: 11 (0 generated)
|