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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 15 10:37:45 PST 2015


--- Comment #4 from Geoffrey Garen <ggaren at apple.com> ---
> > 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)

Another option is to use a special JSFunction subclass for constructors.

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/2ce27d0f/attachment-0002.html>

More information about the webkit-unassigned mailing list