<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] Implement parsing of Async Functions"
href="https://bugs.webkit.org/show_bug.cgi?id=161409#c40">Comment # 40</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [JSC] Implement parsing of Async Functions"
href="https://bugs.webkit.org/show_bug.cgi?id=161409">bug 161409</a>
from <span class="vcard"><a class="email" href="mailto:utatane.tea@gmail.com" title="Yusuke Suzuki <utatane.tea@gmail.com>"> <span class="fn">Yusuke Suzuki</span></a>
</span></b>
<pre>Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=289289&action=diff" name="attach_289289" title="Async Function Parsing v5">attachment 289289</a> <a href="attachment.cgi?id=289289&action=edit" title="Async Function Parsing v5">[details]</a></span>
Async Function Parsing v5
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=289289&action=review">https://bugs.webkit.org/attachment.cgi?id=289289&action=review</a>
<span class="quote">>>> Source/JavaScriptCore/parser/Parser.h:320
>>> + }
>>
>> What is the purpose of this `isModule()`?
>
> m_moduleScopeData used to be a member of Scope, so this made sense back then. I've gotten rid of this method, and just check if the one in the parser is null or not instead.
>
> This seems to fix a bug where modules allow "await" as an identifier in nested functions (which was incorrect per <a href="https://tc39.github.io/ecma262/#prod-FutureReservedWord">https://tc39.github.io/ecma262/#prod-FutureReservedWord</a>)</span >
Nice. Make sense.</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>