<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [ES6] Arrow function syntax. Using eval with 'super'/'super()' in arrow function within the class should not lead to Syntax error"
href="https://bugs.webkit.org/show_bug.cgi?id=153977#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [ES6] Arrow function syntax. Using eval with 'super'/'super()' in arrow function within the class should not lead to Syntax error"
href="https://bugs.webkit.org/show_bug.cgi?id=153977">bug 153977</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>There is 15.1 <a href="https://tc39.github.io/ecma262/#sec-scripts-static-semantics-early-errors">https://tc39.github.io/ecma262/#sec-scripts-static-semantics-early-errors</a> that stats:
ScriptBody:StatementList
#It is a Syntax Error if StatementList Contains super unless the source code containing super is eval code that is being processed by a direct eval that is contained in function code that is not the function code of an ArrowFunction.
#It is a Syntax Error if StatementList Contains NewTarget unless the source code containing NewTarget is eval code that is being processed by a direct eval that is contained in function code that is not the function code of an ArrowFunction.</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>