You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 937 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Pas bien important, mais bizarre...
A un endroit où j'avais défini un type unit personnel,
j'ai voulu faire référence au "vrai" unit, donc j'ai essayé
d'utiliser Pervasives.unit. Ca n'a pas l'air de marcher:
type toto = Pervasives.unit;;
Unbound type constructor Pervasives.unit
Est-ce normal ou non ?
Pierre Letouzey
PS: visiblement, meme comportement pour les autres types de Pervasives,
genre bool, int, etc...
The text was updated successfully, but these errors were encountered:
A un endroit où j'avais défini un type unit personnel,
j'ai voulu faire référence au "vrai" unit, donc j'ai essayé
d'utiliser Pervasives.unit. Ca n'a pas l'air de marcher:
Est-ce normal ou non ?
Oui c'est normal, mais ce n'est pas tres bien explique dans la doc de
Pervasives. Je vais changer la doc.
En tout cas, la vraie solution c'est de ne pas redefinir les types
built-in, surtout si on en a besoin par la suite.
Original bug ID: 937
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Pas bien important, mais bizarre...
A un endroit où j'avais défini un type unit personnel,
j'ai voulu faire référence au "vrai" unit, donc j'ai essayé
d'utiliser Pervasives.unit. Ca n'a pas l'air de marcher:
type toto = Pervasives.unit;;
Unbound type constructor Pervasives.unit
Est-ce normal ou non ?
Pierre Letouzey
PS: visiblement, meme comportement pour les autres types de Pervasives,
genre bool, int, etc...
The text was updated successfully, but these errors were encountered: