[Webkit-unassigned] [Bug 147742] [ES6] Implement ES6 arrow function syntax. Prototype of arrow function should be undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 1 16:49:38 PDT 2015


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

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

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

> Source/JavaScriptCore/runtime/JSFunction.cpp:481
> +            || (propertyName == exec->propertyNames().prototype && !executable->isArrowFunction())

Why the isArrowFunction check here?
If we're an arrow function, don't we want to prevent deletion here?

-- 
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/20150901/6280f4bc/attachment.html>


More information about the webkit-unassigned mailing list