We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug #866 introduced a regression in the position of comments in list patterns.
How to Reproduce Executing
$ echo "let [(* comment one *) one; (* comment two *) two] = [1; 2]" | _build/default/src/ocamlformat.exe --name "foo.ml" -
produces
let (* comment one *) [one; (* comment two *) two] = [1; 2]
while it should, and used to, produce
let [(* comment one *) one; (* comment two *) two] = [1; 2]
The text was updated successfully, but these errors were encountered:
Partial revert of 4dabe7c
3124e3d
fix #1140
fce0d2e
d208a7a
Successfully merging a pull request may close this issue.
Describe the bug
#866 introduced a regression in the position of comments in list patterns.
How to Reproduce
Executing
produces
while it should, and used to, produce
The text was updated successfully, but these errors were encountered: