Bug 258507

Summary: [JSC] var binding that duplicates lexical declaration should cause SyntaxError even if there is Annex B hoisted function by the same name
Product: WebKit Reporter: Alexey Shvayka <ashvayka>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Alexey Shvayka
Reported 2023-06-25 20:56:58 PDT
Test case: JSTests/stress/eval-func-decl-within-eval-with-reassign-to-var.js (function loo())
Attachments
Radar WebKit Bug Importer
Comment 1 2023-06-25 20:57:21 PDT
Alexey Shvayka
Comment 2 2023-07-24 07:13:12 PDT
This was resolved as part of https://commits.webkit.org/266229@main. *** This bug has been marked as a duplicate of bug 167837 ***
Note You need to log in before you can comment on or make changes to this bug.