[Webkit-unassigned] [Bug 163208] [ES6]. Implement Annex B.3.3 function hoisting rules for eval

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 17 20:13:36 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=163208

Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #307127|review?                     |review+
              Flags|                            |

--- Comment #74 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 307127
  --> https://bugs.webkit.org/attachment.cgi?id=307127
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=307127&action=review

Nice! r=me

> Source/JavaScriptCore/parser/Parser.cpp:1784
> +    if (!currentScope()->isFunction() && !closestParentOrdinaryFunctionNonLexicalScope()->isEvalContext()) {

Please update the comment below, since you're now adding this for eval.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170418/b668c010/attachment-0001.html>


More information about the webkit-unassigned mailing list