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

roc format deletes comments in modules with no content #7168

Open
isaacvando opened this issue Oct 15, 2024 · 0 comments
Open

roc format deletes comments in modules with no content #7168

isaacvando opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working intermediate issue Likely good for someone who has completed a few other issues

Comments

@isaacvando
Copy link
Collaborator

This code formats as expected

module []

hello = "world"

# comment

but this code formats to the below

module []

# comment
module []
@isaacvando isaacvando added the bug Something isn't working label Oct 15, 2024
@Anton-4 Anton-4 added the intermediate issue Likely good for someone who has completed a few other issues label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working intermediate issue Likely good for someone who has completed a few other issues
Projects
None yet
Development

No branches or pull requests

2 participants