DescriptionDo all parsing for try/catch destructuring inside the appropriate scopes
Previously, any expressions inside destructuring patterns in a catch
would be parsed in the surrounding scope, instead of in the catch's
scope. This change fixes that by entering not only the catch scope,
but also the block scope inside it.
R=neis@chromium.org
BUG=v8:5106, v8:5112
Committed: https://crrev.com/7166503f6e90949f4d3ac6902d737966c2c1c08c
Cr-Commit-Position: refs/heads/master@{#37415}
Patch Set 1 #Patch Set 2 : Mark test262 test as passing #Patch Set 3 : Fix another test262 and remove a TODO #Patch Set 4 : Rebased #Patch Set 5 : Fix comments #Patch Set 6 : One less scope #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|