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: 5156 Reporter: yziquel Assigned to:@garrigue Status: closed (set by @xavierleroy on 2012-03-24T14:01:44Z) Resolution: fixed Priority: normal Severity: minor Version: 3.12.0 Fixed in version: 3.12.1+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
yziquel@seldon:~$ ocaml -rectypes
Objective Caml version 3.12.0
There was a long-standing problem with using abbreviations of the form "type 'a t = 'a" for the type of self.
This is now fixed, in revision 10703, branch version/3.12.
Original bug ID: 5156
Reporter: yziquel
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2012-03-24T14:01:44Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
yziquel@seldon:~$ ocaml -rectypes
Objective Caml version 3.12.0
type 'a obj = ( < .. > as 'a);;
type 'a obj = 'a constraint 'a = < .. >
class ['a] o = object (self : 'a obj) end;;
Fatal error: exception Assert_failure("typing/ctype.ml", 266, 23)
yziquel@seldon:~$
The text was updated successfully, but these errors were encountered: