<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ES6 Arrow function. Write tests for the controlFlowProfiler"
   href="https://bugs.webkit.org/show_bug.cgi?id=145638#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ES6 Arrow function. Write tests for the controlFlowProfiler"
   href="https://bugs.webkit.org/show_bug.cgi?id=145638">bug 145638</a>
              from <span class="vcard"><a class="email" href="mailto:saambarati1&#64;gmail.com" title="Saam Barati &lt;saambarati1&#64;gmail.com&gt;"> <span class="fn">Saam Barati</span></a>
</span></b>
        <pre>nction foo2(test) {
<span class="quote">&gt;    var f1 = (xyz) =&gt; { &quot;hello&quot; }
&gt;    if (test)
&gt;        f1();
&gt; }
&gt; foo1(false);
&gt; checkBasicBlock(foo1, '(xyz) =&gt;', ShouldNotHaveExecuted);
&gt; checkBasicBlock(foo1, '; }', ShouldNotHaveExecuted);
&gt; foo1(true);
&gt; checkBasicBlock(foo1, '(xyz) =&gt;', ShouldHaveExecuted);
&gt; checkBasicBlock(foo1, '; }', ShouldHaveExecuted);</span >
Mistake: these should all be &quot;foo2&quot;.</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>