[Webkit-unassigned] [Bug 192830] New: Annex B.3.5: Var-redeclaration of a catch parameter in a for-of initializer is a syntax error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 18 14:38:40 PST 2018


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

            Bug ID: 192830
           Summary: Annex B.3.5: Var-redeclaration of a catch parameter in
                    a for-of initializer is a syntax error
           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: ross.kirsling at sony.com

Annex B.3.5 exempts `try {} catch (e) { var e; }` from being a syntax error, but this exemption should not apply if the var declaration is a for-of initializer.

Spec link:
https://tc39.github.io/ecma262/#sec-variablestatements-in-catch-blocks

-- 
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/20181218/58d8ca9f/attachment.html>


More information about the webkit-unassigned mailing list