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: 7774 Reporter:@rlepigre Assigned to:@gasche Status: resolved (set by @gasche on 2018-04-14T21:14:09Z) Resolution: duplicate Priority: normal Severity: minor Version: 4.05.0 Category: typing Duplicate of:#7364
Bug description
The following mutual type definition is rejected.
##########
type 'a t = {name : string; data : 'a}
and any = Any : 'a t -> any [@@ocaml.unboxed]
##########
According to the manual, it should be accepted, and there does not seem to be any good reason to reject it. (Hopefully, an element of ['a t] can never be a [float].)
Steps to reproduce
Just run OCaml on a file containing the two lines.
Additional information
The problem is the same with the 4.07.0+trunk version.
The text was updated successfully, but these errors were encountered:
Original bug ID: 7774
Reporter: @rlepigre
Assigned to: @gasche
Status: resolved (set by @gasche on 2018-04-14T21:14:09Z)
Resolution: duplicate
Priority: normal
Severity: minor
Version: 4.05.0
Category: typing
Duplicate of: #7364
Bug description
The following mutual type definition is rejected.
##########
type 'a t = {name : string; data : 'a}
and any = Any : 'a t -> any [@@ocaml.unboxed]
##########
According to the manual, it should be accepted, and there does not seem to be any good reason to reject it. (Hopefully, an element of ['a t] can never be a [float].)
Steps to reproduce
Just run OCaml on a file containing the two lines.
Additional information
The problem is the same with the 4.07.0+trunk version.
The text was updated successfully, but these errors were encountered: