Input (OCaml):
module type S = sig
type t = private ..
type t += Foo
end
Output:
refmt: internal error, uncaught exception:
Reason_pprint_ast.NotPossible("Encountered impossible type specification")
Expected output:
module type S = {
type t = pri ..;
type t +=
| Foo;
};
Related: ocaml/ocaml#1253
This was added in 4.06.0.