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

Amelioration message d'erreur pour les enregistrements de floats #4423

Closed
vicuna opened this issue Oct 16, 2007 · 1 comment
Closed

Amelioration message d'erreur pour les enregistrements de floats #4423

vicuna opened this issue Oct 16, 2007 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 16, 2007

Original bug ID: 4423
Reporter: @alainfrisch
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2012-03-24T14:01:03Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Has duplicate: #4584
Monitored by: jm

Bug description

Le message d'erreur produit par le typeur pour le code ci-dessous n'est pas particulièrement éclairant (et je ne crois pas que le manuel permette de comprendre pourquoi le code est invalide):

module X : sig
type t
type s = {x:t}
end = struct
type t = float
type s = {x:t}
end

Modules do not match:
sig type t = float type s = { x : t; } end
is not included in
sig type t type s = { x : t; } end
Type declarations do not match:
type s = { x : t; }
is not included in
type s = { x : t; }

@vicuna
Copy link
Author

vicuna commented May 21, 2010

Comment author: @alainfrisch

New error message (rev 10447).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants