Skip to content
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

ocamlc 3.10+dev: "Fatal error: exception Ctype.Unify(_, _)" (seems to be different from 0003918). #4051

vicuna opened this Issue Jun 20, 2006 · 2 comments


None yet
2 participants
Copy link

vicuna commented Jun 20, 2006

Original bug ID: 4051
Reporter: dboulytchev
Assigned to: @garrigue
Status: closed (set by @garrigue on 2006-06-26T09:42:56Z)
Resolution: fixed
Priority: normal
Severity: crash
Version: 3.10+dev
Fixed in version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)

Bug description

I got this exception while compiling first some module with
-rectypes option and then dependent module without it (by mistake).
I've tried to minimize the case; the sources attached.

File attachments


This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Jun 23, 2006

Comment author: @garrigue

The error message is indeed a problem, but note that you are not supposed to
import a signature compiled with -rectypes in a modules not compiled with
-rectypes, as the semantics of typing become unclear.
We may solve it as suggested in #4000, by requiring -rectypes.


This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Jun 26, 2006

Comment author: @garrigue

Solved by solving #4000. The second module now requires -rectypes to compile.

@vicuna vicuna closed this Jun 26, 2006

@vicuna vicuna added the bug label Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.