[Webkit-unassigned] [Bug 231166] "Can't find variable" that's let-declared within `with` statement when executing function that's declared within same `with` statement
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 24 13:59:23 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=231166
Alexey Shvayka <ashvayka at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Alexey Shvayka <ashvayka at apple.com> ---
Thank you for reporting!
This bug arises because block-level function declarations in global code, which are subject to currently unimplemented legacy Annex B hoisting, always receive top-level scope instead of lexical one.
https://bugs.webkit.org/show_bug.cgi?id=163209 implements Annex B function hoisting for global code, fixing this issue.
*** This bug has been marked as a duplicate of bug 163209 ***
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230924/e46a76aa/attachment.htm>
More information about the webkit-unassigned
mailing list