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   

Description Alexey Shvayka 2023-06-25 20:56:58 PDT
Test case: JSTests/stress/eval-func-decl-within-eval-with-reassign-to-var.js (function loo())
Comment 1 Radar WebKit Bug Importer 2023-06-25 20:57:21 PDT
<rdar://problem/111305782>
Comment 2 Alexey Shvayka 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 ***