Skip to content

Bug: comment within assignment, formatting does not stabilize #1088

@ceastlund

Description

@ceastlund

Describe the bug
This code...

let _ =
  aaaaaaa
  (* __________________________________________________________________________________ *)
  := bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
;;

...gives this error:

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

How to Reproduce
Run ocamlformat with --profile=janestreet.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions