Bug 262330

Summary: [JSC] Block-level function declarations shouldn't be allowed to shadow `var` bindings
Product: WebKit Reporter: Alexey Shvayka <ashvayka>
Component: JavaScriptCoreAssignee: Alexey Shvayka <ashvayka>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 260484    

Alexey Shvayka
Reported 2023-09-28 14:21:23 PDT
Related test262 failures: * test/language/block-scope/syntax/redeclaration/inner-block-var-name-redeclaration-attempt-with-async-function.js * test/language/block-scope/syntax/redeclaration/inner-block-var-name-redeclaration-attempt-with-async-generator.js * test/language/block-scope/syntax/redeclaration/inner-block-var-name-redeclaration-attempt-with-function.js * test/language/block-scope/syntax/redeclaration/inner-block-var-name-redeclaration-attempt-with-generator.js * test/language/block-scope/syntax/redeclaration/var-name-redeclaration-attempt-with-async-function.js * test/language/block-scope/syntax/redeclaration/var-name-redeclaration-attempt-with-async-generator.js * test/language/block-scope/syntax/redeclaration/var-name-redeclaration-attempt-with-function.js * test/language/block-scope/syntax/redeclaration/var-name-redeclaration-attempt-with-generator.js * test/language/statements/switch/syntax/redeclaration/var-name-redeclaration-attempt-with-async-function.js * test/language/statements/switch/syntax/redeclaration/var-name-redeclaration-attempt-with-async-generator.js * test/language/statements/switch/syntax/redeclaration/var-name-redeclaration-attempt-with-function.js * test/language/statements/switch/syntax/redeclaration/var-name-redeclaration-attempt-with-generator.js
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-28 14:21:53 PDT
Alexey Shvayka
Comment 2 2023-09-28 14:32:42 PDT
EWS
Comment 3 2023-09-29 00:48:58 PDT
Committed 268634@main (133e011511b5): <https://commits.webkit.org/268634@main> Reviewed commits have been landed. Closing PR #18380 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.