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

include module type of struct end #281

Closed mbarbin closed 5 years ago

mbarbin commented 5 years ago

This is taking from core_kernel's array.mli

With 1.6.1 --config=JaneStreet

(** @open *)
include
module type of struct
  include Base.Array
end
  with type 'a t := 'a t

1.7.0

(** @open *)
include
  module type of struct
  include Base.Array
end
  with type 'a t := 'a t

Not sure which is best. This feels a bit like a regression in that in 1.7.0, the [end] is no longer aligned with the [module]. Any opinion on this?