-
Notifications
You must be signed in to change notification settings - Fork 85
Error when printing types with -rectypes
#3133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The problem comes from : flambda-backend/ocaml/typing/oprint.ml Lines 513 to 531 in 95a2dee
Otyp_alias with recursive types.This should maybe be corrected when computing if the next component is an arrow or not at flambda-backend/ocaml/typing/printtyp.ml Lines 1587 to 1606 in 95a2dee
|
@riaqn You should probably have a look at this one |
Thanks - I will look next Wednesday. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote a small test that fails due to a type error, however the type printing fails to an assertion failure.
Output :
The text was updated successfully, but these errors were encountered: