<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [ES6] Implement ES6 arrow function syntax. Arrow function specific features. Lexical bind of this"
href="https://bugs.webkit.org/show_bug.cgi?id=144956#c102">Comment # 102</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [ES6] Implement ES6 arrow function syntax. Arrow function specific features. Lexical bind of this"
href="https://bugs.webkit.org/show_bug.cgi?id=144956">bug 144956</a>
from <span class="vcard"><a class="email" href="mailto:gskachkov@gmail.com" title="GSkachkov <gskachkov@gmail.com>"> <span class="fn">GSkachkov</span></a>
</span></b>
<pre>Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=258384&action=diff" name="attach_258384" title="Patch">attachment 258384</a> <a href="attachment.cgi?id=258384&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=258384&action=review">https://bugs.webkit.org/attachment.cgi?id=258384&action=review</a>
<span class="quote">>> 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.</span >
Fixed
<span class="quote">>> Source/JavaScriptCore/dfg/DFGPromotedHeapLocation.h:50
>> + FunctionBoundThisPLoc
>
> This is a nit, but I'd have called this ArrowFunctionBoundThisPLoc.</span >
Done</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>