Skip to content

Missing space before arrow function in function call #308

Closed
@Gama11

Description

@Gama11
foo(a, (b, c) -> d);

turns into:

foo(a,(b, c) -> d);

It's fine for the single-argument-case without parentheses (foo(a, b -> c); ). Surprised this hasn't come up before. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwhitespacemissing or incorrect space around token

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions