ocamlformat
ocamlformat copied to clipboard
Bug: Infinite loop occurs when multiple comments are between `|>` and `let*`
Describe the bug
ocamlformat errors:
ocamlformat: Cannot process "/path/to/file/test.ml".
Please report this bug at https://github.com/ocaml-ppx/ocamlformat/issues.
BUG: formatting did not stabilize after 10 iterations.
How to Reproduce Minimal sample code that occurs same error:
a |> (* *)
(* *)
let* b = 1 in
a
.ocamlformat
:
profile=default