This program:
[@@@ocamlformat "disable"]
let test = "test"
(* test *)
causes ocamlformat to output the following error message:
ocamlformat: Cannot process "...".
Please report this bug at https://github.com/ocaml-ppx/ocamlformat/issues.
BUG: comment changed.
File "...", line 3, characters 0-10:
Error: comment (* test *) dropped.
where .ocamlformat contains:
profile = conventional
version = 0.28.1
And yes, strangely the first line [@@@ocamlformat "disable"] is actually necessary to reproduce this bug.
This program:
causes
ocamlformatto output the following error message:where
.ocamlformatcontains:And yes, strangely the first line
[@@@ocamlformat "disable"]is actually necessary to reproduce this bug.