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

Bug: comment changed / doc-comment dropped #2585

Open
semarie opened this issue Oct 10, 2024 · 0 comments
Open

Bug: comment changed / doc-comment dropped #2585

semarie opened this issue Oct 10, 2024 · 0 comments

Comments

@semarie
Copy link

semarie commented Oct 10, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant