Skip to content

Required parens around comments are removed #817

@avh4

Description

@avh4

In elm-format 0.8.5 (MacOS)

When formatted,

f =
    g  (--comment
         x)

the parens are removed, but should be retained in this case, as the comment is attached to x, and not to the space between g and x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions