DescriptionRewrite scopes of non-simple default arguments
Default parameters have additional declaration block scopes inserted
around them when something in the function scope calls eval. This
patch sets the parent scope of the expressions introduced due to
those defaults to the new block scope.
R=adamk
BUG=chromium:616386
Committed: https://crrev.com/0e14baf712955a1993f742647bb2adc293702b80
Cr-Commit-Position: refs/heads/master@{#37198}
Patch Set 1 #Patch Set 2 : Code cleanup and more tests #Patch Set 3 : Fix remaining edge case #Patch Set 4 : revert irrelevant whitespace change #Patch Set 5 : Fix whitespace #
Total comments: 1
Messages
Total messages: 19 (7 generated)
|