[Webkit-unassigned] [Bug 262330] New: [JSC] Block-level function declaration shouldn't be allowed to shadow `var` bindings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 28 14:21:23 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=262330

            Bug ID: 262330
           Summary: [JSC] Block-level function declaration shouldn't be
                    allowed to shadow `var` bindings
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ashvayka at apple.com
            Blocks: 260484

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


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=260484
[Bug 260484] [JSC] Umbrella bug for block-level function declarations and Annex B legacy hoisting
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230928/84c36c7a/attachment-0001.htm>


More information about the webkit-unassigned mailing list