WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
262330
[JSC] Block-level function declarations shouldn't be allowed to shadow `var` bindings
https://bugs.webkit.org/show_bug.cgi?id=262330
Summary
[JSC] Block-level function declarations shouldn't be allowed to shadow `var` ...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-09-28 14:21:53 PDT
<
rdar://problem/116202546
>
Alexey Shvayka
Comment 2
2023-09-28 14:32:42 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18380
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.
Top of Page
Format For Printing
XML
Clone This Bug