[Webkit-unassigned] [Bug 166879] Calling async arrow function which is in a class's member function will cause error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 10 02:53:38 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=166879
--- Comment #1 from GSkachkov <gskachkov at gmail.com> ---
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 https://github.com/WebKit/webkit/blob/master/Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp#L3505
If I'll try to prepare fix, but it will be later today.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170110/cad0613e/attachment.html>
More information about the webkit-unassigned
mailing list