ocamlformat
ocamlformat copied to clipboard
Bug: comment changed / doc-comment dropped
Describe the bug
while running ocamlformat, it complained, and asked for report a bug.
How to Reproduce
Here a minimized example (test.ml):
(** my comment *)
let myfunction a b =
a + b
[@@ocamlformat "disable=true"]
$ ocamlformat --enable-outside-detected-project test.ml
ocamlformat: Cannot process "test.ml".
Please report this bug at https://github.com/ocaml-ppx/ocamlformat/issues.
BUG: comment changed.
File "_none_", line 1:
Error: doc-comment (** my comment *) dropped.