[Webkit-unassigned] [Bug 150893] [ES6] Arrow function syntax. Using 'super' in arrow function that declared out of the class should lead to Syntax error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 11:11:08 PST 2016


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

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

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

> Source/JavaScriptCore/parser/Parser.h:886
> +        // When reaching the top level scope (it can be non function scope), we return it.

In a later patch, I'd remove this comment, or just say somethin like:
Note: it's okay to return the top most scope because it will be the global scope

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


More information about the webkit-unassigned mailing list