Skip to content

jsParensError for parenthesized arrow function #364

Closed
@davidchambers

Description

@davidchambers

I just noticed that the closing parens in the following line is marked as jsParensError:

f(() => {});
          ^

The same applies in this case:

f(() => {
});
 ^

This also exhibits the problem:

f((x) => {});
           ^

Interestingly, this does not:

f(x => {});

When I have a bit more time I will run git bisect to determine which change is responsible.

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