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

Bug modules recursifs #8283

vicuna opened this Issue Sep 14, 2003 · 1 comment


None yet
1 participant
Copy link

commented Sep 14, 2003

Original bug ID: 1833
Reporter: administrator
Status: closed (set by @xavierleroy on 2009-07-09T15:26:34Z)
Resolution: fixed
Priority: normal
Severity: feature
Fixed in version: 3.11.0
Category: ~DO NOT USE (was: OCaml general)

Bug description

Je continue mon mailing de masse :-)

Le programme suivant provoque l'erreur: "Unbound type constructor s"

module type S = sig type t end

module rec M :
type s = C of int
include S with type t = s
end =
type s = C of int
type t = s

Sans le "rec", ça passe.

-- Alain

Additional information

Appears fixed in 3.11.0...


This comment has been minimized.

Copy link
Collaborator Author

commented Sep 15, 2003

Comment author: administrator

This is consistent with the typing algorithm used to elaborate rec sigs:
"include" statements that involve components of the rec sig are not allowed. I
doubt this will ever change, but leave this as a feature wish just in case.
-XL, 2003-09-15

@vicuna vicuna closed this Jul 9, 2009

@vicuna vicuna added the feature-wish 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.