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: 632 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
The following code crashes both the toplevel and the compiler
with the exception Uncaught exception: Ctype.Unify(_)
class ['a] c =
object (self)
method m1 (a : 'a) = a#m2 (`C self)
end;;
let _ = new c;;
Ca a l'air d'un vieux bug, deja dans 3.00.
C'etait du^ a une mauvaise generalisation des variantes dans Ctype.limited_generalize. J'ai corrige', mais limited_generalize me fait assez peur: comme on ne peut pas generaliser une variante sans generaliser sa row-variable, je le fais, au risque d'avoir d'un trou dans le typeur. D'un autre cote', j'ai du mal a imaginer un contre-exemple, si il y
en a...
Original bug ID: 632
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Didier Remy
Version: 3.03 ALPHA+3 (2001-11-05)
OS: linux
Submission from: oto.inria.fr (192.93.2.2)
The following code crashes both the toplevel and the compiler
with the exception Uncaught exception: Ctype.Unify(_)
class ['a] c =
object (self)
method m1 (a : 'a) = a#m2 (`C self)
end;;
let _ = new c;;
The text was updated successfully, but these errors were encountered: