<div dir="ltr">Nice, that&#39;s definitely a bug.<div>Could you file it to <a href="http://bugs.webkit.org">bugs.webkit.org</a>?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br>Yusuke Suzuki</div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 10, 2017 at 3:31 PM, shuan zhao <span dir="ltr">&lt;<a href="mailto:hszhsh@icloud.com" target="_blank">hszhsh@icloud.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">My test code is as follows. When I run the code, I got the error “<b style="font-family:Menlo;font-size:11px">Can&#39;t find private variable: @derivedConstructor</b>”. V8 is ok with the test code.<br><div><br></div><div><div>function doSomething(callback) {</div><div>    callback();</div><div>}</div><div><br></div><div>class Test {</div><div>    testFunc() {</div><div>        doSomething(async () =&gt; {</div><div>            console.log(&quot;testFunc&quot;);</div><div>            await sleep(2);</div><div>            console.log(&quot;testFunc end&quot;);</div><div>        });</div><div>    }</div><div>}</div><div><br></div><div>let test = new Test();</div><div>test.testFunc();</div></div></div><br>______________________________<wbr>_________________<br>
jsc-dev mailing list<br>
<a href="mailto:jsc-dev@lists.webkit.org">jsc-dev@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/jsc-dev" rel="noreferrer" target="_blank">https://lists.webkit.org/<wbr>mailman/listinfo/jsc-dev</a><br>
<br></blockquote></div><br></div>