<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [ES6] Arrow function syntax. Emit loading&amp;putting this/super only if they are used in arrow function"
   href="https://bugs.webkit.org/show_bug.cgi?id=153981#c44">Comment # 44</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [ES6] Arrow function syntax. Emit loading&amp;putting this/super only if they are used in arrow function"
   href="https://bugs.webkit.org/show_bug.cgi?id=153981">bug 153981</a>
              from <span class="vcard"><a class="email" href="mailto:sbarati&#64;apple.com" title="Saam Barati &lt;sbarati&#64;apple.com&gt;"> <span class="fn">Saam Barati</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=272424&amp;action=diff" name="attach_272424" title="Patch">attachment 272424</a> <a href="attachment.cgi?id=272424&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">&gt; Source/JavaScriptCore/parser/Parser.cpp:3883
&gt; +        if (currentFunctionScope()-&gt;isArrowFunction()) {</span >

I don't understand this code. Why does this happen unconditionally?
Shouldn't it depend on if &quot;baseIsSuper == true&quot;?
Also, does this miss the case where you just have &quot;super&quot; without
a property access or function call afterward?
I.e:
()=&gt;super;</pre>
        </div>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [ES6] Arrow function syntax. Emit loading&amp;putting this/super only if they are used in arrow function"
   href="https://bugs.webkit.org/show_bug.cgi?id=153981#c43">Comment # 43</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [ES6] Arrow function syntax. Emit loading&amp;putting this/super only if they are used in arrow function"
   href="https://bugs.webkit.org/show_bug.cgi?id=153981">bug 153981</a>
              from <span class="vcard"><a class="email" href="mailto:sbarati&#64;apple.com" title="Saam Barati &lt;sbarati&#64;apple.com&gt;"> <span class="fn">Saam Barati</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=272424&amp;action=diff" name="attach_272424" title="Patch">attachment 272424</a> <a href="attachment.cgi?id=272424&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">&gt; Source/JavaScriptCore/parser/Parser.cpp:3883
&gt; +        if (currentFunctionScope()-&gt;isArrowFunction()) {</span >

I don't understand this code. Why does this happen unconditionally?
Shouldn't it depend on if &quot;baseIsSuper == true&quot;?
Also, does this miss the case where you just have &quot;super&quot; without
a property access or function call afterward?
I.e:
()=&gt;super;</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>