<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&#64;gmail.com" title="GSkachkov &lt;gskachkov&#64;gmail.com&gt;"> <span class="fn">GSkachkov</span></a>
</span></b>
        <pre>Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=258384&amp;action=diff" name="attach_258384" title="Patch">attachment 258384</a> <a href="attachment.cgi?id=258384&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=258384&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=258384&amp;action=review</a>

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

Fixed

<span class="quote">&gt;&gt; Source/JavaScriptCore/dfg/DFGPromotedHeapLocation.h:50
&gt;&gt; +    FunctionBoundThisPLoc
&gt; 
&gt; 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>