ocamlformat icon indicating copy to clipboard operation
ocamlformat copied to clipboard

Bug: indentation bug

Open panglesd opened this issue 4 months ago • 5 comments

$ opam exec --switch 5.2.0 -- ocamlformat --enable-outside-detected-project bug2.ml
let record_to_record (evs : t) : Drawing.Record.t =
  let of_stroke (stro : stro) : Drawing.Record.t =
    let start = let time = match Lwd.peek stro.path with _ -> _ in

                _ in
    _
  in
  _

The indentation of the content of start is quite unexpected!

panglesd avatar Oct 27 '25 14:10 panglesd