<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add support for new.target."
   href="https://bugs.webkit.org/show_bug.cgi?id=147051#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add support for new.target."
   href="https://bugs.webkit.org/show_bug.cgi?id=147051">bug 147051</a>
              from <span class="vcard"><a class="email" href="mailto:keith_miller&#64;apple.com" title="Keith Miller &lt;keith_miller&#64;apple.com&gt;"> <span class="fn">Keith Miller</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=257099&amp;action=diff" name="attach_257099" title="Patch">attachment 257099</a> <a href="attachment.cgi?id=257099&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">&gt;&gt; Source/JavaScriptCore/parser/ASTBuilder.h:183
&gt;&gt; +    ExpressionNode* newTargetExpr(const JSTokenLocation location)
&gt; 
&gt; small nit: We usually try to name things that create AST nodes &quot;createX&quot;.
&gt; So here, &quot;createNewTargetNode&quot; or &quot;createNewTargetExpression&quot;.</span >

Is there a reason why thisExpr and superExpr don't follow this rule? I named my function &quot;newTargetExpr&quot; since new.target is similar to this but for constructors, so I was trying to emulate those functions.</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>