Comment #3 on issue 4056 by [email protected]: Bug in strict-mode
scoping in arrow functions that call eval
https://code.google.com/p/v8/issues/detail?id=4056#c3
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/d5fd58165c5348c45e3a63d60df9d75787b44e83
commit d5fd58165c5348c45e3a63d60df9d75787b44e83
Author: wingo <[email protected]>
Date: Thu Apr 23 13:20:11 2015
Function scopes only must have a context if they call sloppy eval
A strict arrow function with no parameters and no variable bindings
won't need a context object because it will never have any
locals. (This is unlike strict normal functions, which do have
"arguments" and "this" locals.)
[email protected]
BUG=v8:4056
LOG=N
Review URL: https://codereview.chromium.org/1093183003
Cr-Commit-Position: refs/heads/master@{#28031}
[modify]
http://crrev.com/d5fd58165c5348c45e3a63d60df9d75787b44e83/src/scopeinfo.cc
[modify]
http://crrev.com/d5fd58165c5348c45e3a63d60df9d75787b44e83/src/scopes.cc
[add]
http://crrev.com/d5fd58165c5348c45e3a63d60df9d75787b44e83/test/mjsunit/harmony/regress/regress-4056.js
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.