[Webkit-unassigned] [Bug 157079] Assertion failure for super() call in arrow function default parameters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 9 12:36:15 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=157079

--- Comment #5 from Saam Barati <sbarati at apple.com> ---
(In reply to comment #4)
> As for now I see that fix will be more complicated, because before idea was
> that we load all arrow function bound variables just after all function's
> arguments are prepared -> after
> initializeDefaultParameterValuesAndSetupFunctionScopeStack, but to cover
> current issue we need move initialization of arrow function variable before
> we trying initialize default parameters.

This seems like the correct solution to me. We should probably write tests
also for 'this' and 'arguments'. Is there a good reason why
this needs to happen after we initialize default parameter values?

-- 
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/20160509/d556c7ef/attachment.html>


More information about the webkit-unassigned mailing list