Skip to content

Catch parameter conflicts with local declarations #548

@RReverser

Description

@RReverser
try {} catch (a) { if(1) function a(){} }

produces

SyntaxError: Identifier 'a' has already been declared (1:34)

while it shouldn't conflict.

cc @not-an-aardvark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions