NEW 156962
Keep a different scope in the parser for a function's parameters
https://bugs.webkit.org/show_bug.cgi?id=156962
Summary Keep a different scope in the parser for a function's parameters
Saam Barati
Reported 2016-04-24 16:01:00 PDT
Because we don't do this, a function's default parameter values can cause us to think something is captured when it isn't. for example: ``` let inner; function foo(a = function() { return inner; }) { let inner; // We will mark this as captured even though it isn't. return inner; } ```
Attachments
Note You need to log in before you can comment on or make changes to this bug.