[Webkit-unassigned] [Bug 158575] New: ES6: Reusing function name as a parameter name shouldn't throw Syntax Error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 9 13:09:03 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158575
Bug ID: 158575
Summary: ES6: Reusing function name as a parameter name
shouldn't throw Syntax Error
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: msaboff at apple.com
According to the ES6 spec, <http://www.ecma-international.org/ecma-262/6.0/#sec-function-definitions-static-semantics-early-errors>, reusing the function name of a function as a parameter name should not throw a Syntax Error. This is was pointed out on the es-discuss mailing list <https://esdiscuss.org/topic/can-strict-parameters-shadow-strict-function-names>, specifically how we differ from V8 and SpiderMonkey.
--
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/20160609/be1096d1/attachment-0001.html>
More information about the webkit-unassigned
mailing list