Skip to content

SyntaxError: catch variable already exists #40

@kommen

Description

@kommen

This seems unexpected to me. Is it?

mqjs --eval "try {} catch (A) {}; try {} catch (A) {}"

results in

SyntaxError: catch variable already exists
    at <cmdline>:1:36

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions