DescriptionFix function scoping issue
The parser has special behavior with respect to the bindings
of inner functions in sloppy mode which are not at the top
level of scopes. This behavior should be turned off when the
--harmony-sloppy-function flag is set, as lexical scoping
rules are used instead. Previously, the incorrect flag
--harmony-sloppy was used, resulting in a crashing bug.
BUG=chromium:520029
LOG=Y
R=adamk
Committed: https://crrev.com/9c79e69e6c9725501852a26de1d0284e6aad038d
Cr-Commit-Position: refs/heads/master@{#30315}
Patch Set 1 #Patch Set 2 : Add regression tests #
Total comments: 6
Patch Set 3 : Fix tests #
Messages
Total messages: 17 (6 generated)
|