<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Calling async arrow function which is in a class's member function will cause error"
href="https://bugs.webkit.org/show_bug.cgi?id=166879#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Calling async arrow function which is in a class's member function will cause error"
href="https://bugs.webkit.org/show_bug.cgi?id=166879">bug 166879</a>
from <span class="vcard"><a class="email" href="mailto:gskachkov@gmail.com" title="GSkachkov <gskachkov@gmail.com>"> <span class="fn">GSkachkov</span></a>
</span></b>
<pre>I think root of the issue because property @derivedConstructor is not put to the virtual scope in testFunc. When we implemented simple arrow function we check if we super used inside and do put derivedConstructor to the virtual scope, before it it used within arrow function.
So I think solution is adding additional check (generator.isSuperUsedInInnerArrowFunction()) in this line <a href="https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp#L3505">https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp#L3505</a>
If I'll try to prepare fix, but it will be later today.</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>