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

Incorrect reformatting of comments #204

Closed
miegir opened this issue Nov 1, 2016 · 0 comments · Fixed by #218
Closed

Incorrect reformatting of comments #204

miegir opened this issue Nov 1, 2016 · 0 comments · Fixed by #218

Comments

@miegir
Copy link

miegir commented Nov 1, 2016

Formatting this (comment inside ()):

let x =
    ((*comment*))
    printf "a"
    // another comment 1
    printf "b"
    // another comment 2
    printf "c"

results in the following (comment text doubled and another comments in the file are placed between two comment copies):

let x = 
    ((*comment*) // another comment 1
                 // another comment 2
                 (*comment*))
    printf "a"
    printf "b"
    printf "c"

Repeated reformatting will double all text in the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants