<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion failure for super() call in arrow function default parameters"
href="https://bugs.webkit.org/show_bug.cgi?id=157079#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion failure for super() call in arrow function default parameters"
href="https://bugs.webkit.org/show_bug.cgi?id=157079">bug 157079</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>(In reply to <a href="show_bug.cgi?id=157079#c7">comment #7</a>)
<span class="quote">> I see we have the following comment:
>
> // Loading |this| inside an arrow function must be done after
> initializeDefaultParameterValuesAndSetupFunctionScopeStack()
> // because that function sets up the SymbolTable stack and
> emitLoadThisFromArrowFunctionLexicalEnvironment()
> // consults the SymbolTable stack
>
>
> Is that comment correct though? I don't see why we need to consult the local
> symbol table stack here because we should always be doing non-local
> resolution.</span >
Oh, I've copy pasted comments with if condition.
I can be wrong, but if we do emitLoadThisFromArrowFunctionLexicalEnvironment before initializeDefaultParameterValuesAndSetupFunctionScopeStack, we resolved to wrong scope</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>