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: unstable comment between attributes #1025

Closed
ceastlund opened this issue Sep 23, 2019 · 0 comments · Fixed by #1029
Closed

Bug: unstable comment between attributes #1025

ceastlund opened this issue Sep 23, 2019 · 0 comments · Fixed by #1029

Comments

@ceastlund
Copy link

Describe the bug
If I run ocamlformat on the following file...

module M = struct
  type t
  [@@immediate]
  (* ______________________________________ *)
  [@@deriving variants, sexp_of]
end

...I get the following error:

ocamlformat: Cannot process "app/apply-style/feedback/comment_between_attributes.ml".
  Please report this bug at https://github.com/ocaml-ppx/ocamlformat/issues.
  BUG: formatting did not stabilize after 10 iterations.

How to Reproduce
This is using ocamlformat built from 63e1d3a, using the flags --profile=janestreet --enable-outside-detected-project --disable-conf-files.

@gpetiot gpetiot self-assigned this Sep 25, 2019
gpetiot added a commit to gpetiot/ocamlformat that referenced this issue Sep 25, 2019
gpetiot added a commit to gpetiot/ocamlformat that referenced this issue Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants