Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required parens around comments are removed #817

Open
avh4 opened this issue Apr 4, 2023 · 1 comment
Open

Required parens around comments are removed #817

avh4 opened this issue Apr 4, 2023 · 1 comment
Labels
Milestone

Comments

@avh4
Copy link
Owner

avh4 commented Apr 4, 2023

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.

@avh4 avh4 added the bug label Apr 4, 2023
@avh4 avh4 added this to the 0.8.7 milestone Apr 4, 2023
@avh4
Copy link
Owner Author

avh4 commented Apr 4, 2023

Ah, duplicate of #762

@avh4 avh4 modified the milestones: 0.8.7, Future 0.8.* Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant