Bug 258507 - [JSC] var binding that duplicates lexical declaration should cause SyntaxError even if there is Annex B hoisted function by the same name
Summary: [JSC] var binding that duplicates lexical declaration should cause SyntaxErro...
Status: RESOLVED DUPLICATE of bug 167837
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-25 20:56 PDT by Alexey Shvayka
Modified: 2023-07-24 07:13 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***