OCamlPro / ocp-indent

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

Bug: bad indentation in cinaps comment with nested list-in-record-in-list #306

Open ceastlund opened 4 years ago

ceastlund commented 4 years ago

I start with this:

(*$ [

  {x = []};

  {x};

  ]*)

I run ocp-indent and get this:

(*$ [

  {x = []};

          {x};

          ]*)

This is using a binary built from 3ce84f2d009833883f908669a89a99c5274d01c3.