ocaml-ppx / ocamlformat

Auto-formatter for OCaml code
MIT License
633 stars 179 forks source link

Fix formatting of type vars in GADT constructors #2518

Closed Julow closed 9 months ago

Julow commented 9 months ago

Fix: https://github.com/ocaml-ppx/ocamlformat/issues/2517

The formatting of type variables was short circuited when the constructor contained no argument.