[Webkit-unassigned] [Bug 144956] [ES6] Implement ES6 arrow function syntax. Arrow function specific features. Lexical bind of this

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 7 09:49:39 PDT 2015


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

--- Comment #102 from GSkachkov <gskachkov at gmail.com> ---
Comment on attachment 258384
  --> https://bugs.webkit.org/attachment.cgi?id=258384
Patch

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

>> Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp:2022
>> +            ASSERT(locations.size() == isArrowFunction ? 3 : 2);
> 
> This is parsed as "ASSERT((locations.size() == isArrowFunction) ? 3 : 2);" and will always be true.

Fixed

>> Source/JavaScriptCore/dfg/DFGPromotedHeapLocation.h:50
>> +    FunctionBoundThisPLoc
> 
> This is a nit, but I'd have called this ArrowFunctionBoundThisPLoc.

Done

-- 
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/20150807/561f51df/attachment.html>


More information about the webkit-unassigned mailing list