[Webkit-unassigned] [Bug 153977] [ES6] Arrow function syntax. Using eval with 'super'/'super()' in arrow function within the class should not lead to Syntax error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 28 14:44:06 PST 2016


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

--- Comment #1 from GSkachkov <gskachkov at gmail.com> ---
There is 15.1 https://tc39.github.io/ecma262/#sec-scripts-static-semantics-early-errors that stats:
ScriptBody:StatementList
#It is a Syntax Error if StatementList Contains super unless the source code containing super is eval code that is being processed by a direct eval that is contained in function code that is not the function code of an ArrowFunction.
#It is a Syntax Error if StatementList Contains NewTarget unless the source code containing NewTarget is eval code that is being processed by a direct eval that is contained in function code that is not the function code of an ArrowFunction.

-- 
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/20160228/d09317a2/attachment.html>


More information about the webkit-unassigned mailing list