Open samsa1 opened 1 month ago
The problem comes from : https://github.com/ocaml-flambda/flambda-backend/blob/95a2deeaa6523fcc96febbf998633763cce12896/ocaml/typing/oprint.ml#L513-L531 that does not handle correctly the case of Otyp_alias
with recursive types.
This should maybe be corrected when computing if the next component is an arrow or not at https://github.com/ocaml-flambda/flambda-backend/blob/95a2deeaa6523fcc96febbf998633763cce12896/ocaml/typing/printtyp.ml#L1587-L1606.
@riaqn You should probably have a look at this one
Thanks - I will look next Wednesday.
I wrote a small test that fails due to a type error, however the type printing fails to an assertion failure.
Output :