OCamlPro / ocp-indent

Indentation tool for OCaml, to be used from editors like Emacs and Vim.
http://www.typerex.org/ocp-indent.html
Other
200 stars 63 forks source link

code following variant without constructor shifted to the right #286

Closed mbarbin closed 5 years ago

mbarbin commented 5 years ago

1.7.0 --config=JaneStreet

type t = |

  let process (update : t) ~f:(_ : t -> unit) : unit =
    match update with
    | _ -> .
;;

See how the function following the type definition get shifted to the right.

AltGr commented 5 years ago

Yet another new feature I wasn't aware of ^^. Thanks for reporting!