Bug 262394 - [JSC] Duplicate lexical bindings should only be allowed for FunctionDeclarations
Summary: [JSC] Duplicate lexical bindings should only be allowed for FunctionDeclarations
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Alexey Shvayka
URL:
Keywords: InRadar
Depends on:
Blocks: 260484
  Show dependency treegraph
 
Reported: 2023-09-29 13:08 PDT by Alexey Shvayka
Modified: 2023-09-29 15:35 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-09-29 13:08:02 PDT
Related test262 failures:
  * test/language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-function.js
  * test/language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-generator.js
  * test/language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-function.js
  * test/language/block-scope/syntax/redeclaration/async-function-name-redeclaration-attempt-with-generator.js
  * test/language/block-scope/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-async-function.js
  * test/language/block-scope/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-async-generator.js
  * test/language/block-scope/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-function.js
  * test/language/block-scope/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-generator.js
  * test/language/block-scope/syntax/redeclaration/function-name-redeclaration-attempt-with-async-function.js
  * test/language/block-scope/syntax/redeclaration/function-name-redeclaration-attempt-with-async-generator.js
  * test/language/block-scope/syntax/redeclaration/function-name-redeclaration-attempt-with-generator.js
  * test/language/block-scope/syntax/redeclaration/generator-name-redeclaration-attempt-with-async-function.js
  * test/language/block-scope/syntax/redeclaration/generator-name-redeclaration-attempt-with-async-generator.js
  * test/language/block-scope/syntax/redeclaration/generator-name-redeclaration-attempt-with-function.js
  * test/language/block-scope/syntax/redeclaration/generator-name-redeclaration-attempt-with-generator.js
  * test/language/statements/switch/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-function.js
  * test/language/statements/switch/syntax/redeclaration/async-function-name-redeclaration-attempt-with-async-generator.js
  * test/language/statements/switch/syntax/redeclaration/async-function-name-redeclaration-attempt-with-function.js
  * test/language/statements/switch/syntax/redeclaration/async-function-name-redeclaration-attempt-with-generator.js
  * test/language/statements/switch/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-async-function.js
  * test/language/statements/switch/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-async-generator.js
  * test/language/statements/switch/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-function.js
  * test/language/statements/switch/syntax/redeclaration/async-generator-name-redeclaration-attempt-with-generator.js
  * test/language/statements/switch/syntax/redeclaration/function-name-redeclaration-attempt-with-async-function.js
  * test/language/statements/switch/syntax/redeclaration/function-name-redeclaration-attempt-with-async-generator.js
  * test/language/statements/switch/syntax/redeclaration/function-name-redeclaration-attempt-with-generator.js
  * test/language/statements/switch/syntax/redeclaration/generator-name-redeclaration-attempt-with-async-function.js
  * test/language/statements/switch/syntax/redeclaration/generator-name-redeclaration-attempt-with-async-generator.js
  * test/language/statements/switch/syntax/redeclaration/generator-name-redeclaration-attempt-with-function.js
  * test/language/statements/switch/syntax/redeclaration/generator-name-redeclaration-attempt-with-generator.js
Comment 1 Radar WebKit Bug Importer 2023-09-29 13:08:25 PDT
<rdar://problem/116252189>
Comment 2 Alexey Shvayka 2023-09-29 13:12:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18429
Comment 3 EWS 2023-09-29 15:35:54 PDT
Committed 268671@main (e4042719d2be): <https://commits.webkit.org/268671@main>

Reviewed commits have been landed. Closing PR #18429 and removing active labels.