[Webkit-unassigned] [Bug 140491] Implement ES6 class syntax

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 15 09:06:37 PST 2015


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

--- Comment #3 from Oliver Hunt <oliver at apple.com> ---
Comment on attachment 244682
  --> https://bugs.webkit.org/attachment.cgi?id=244682
Super naive WIP 1

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

> Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:2771
> +        // FIXME: Throw TypeError if isConstructor(parentClass) is false or it's a generator function.

I'm honestly leaning towards planting a private property on the type and using that to make you decision (e.g. foo. at IsConstructor or some such)

-- 
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/20150115/ea1b208e/attachment-0002.html>


More information about the webkit-unassigned mailing list