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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 19 21:09:30 PST 2015


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

Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|webkit-unassigned at lists.web |rniwa at webkit.org
                   |kit.org                     |
 Attachment #244853|0                           |1
        is obsolete|                            |

--- Comment #8 from Ryosuke Niwa <rniwa at webkit.org> ---
Created attachment 244964
  --> https://bugs.webkit.org/attachment.cgi?id=244964&action=review
Added ReferenceError for this inside derived class' constructor

I've added the support for throwing ReferenceError inside a derived class' constructor.  There is one ugliness here, which is having to remember whether a given constructor is for a derived class or not.  I don't think we can deduce this from prototype or constructor as far as I read the spec so I'm introducing a yet another private property name to store this information on the constructor object.

Now I need to figure out how to pass an argument to eval operator so that every access to this inside an eval operator in a derived class' constructor would check the extra register allocated in BytecodeGenerator for the constructor.

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


More information about the webkit-unassigned mailing list