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: 5306 Reporter: sigonnea Assigned to:@xavierleroy Status: closed (set by @xavierleroy on 2012-09-25T18:07:21Z) Resolution: fixed Priority: normal Severity: minor Version: 3.12.0 Fixed in version: 3.12.1+dev Category: ~DO NOT USE (was: OCaml general) Monitored by: mehdi @ygrek
Bug description
Since Ocaml 3.12.0, when comparing Thread.self() to something, the following exception is raised : Invalid_argument "equal: abstract value"
How to reproduce: execute
Thread.self () = Thread.self ();;
in the toplevel. This returns "- : bool = true" with ocaml <= 3.11.2 and raises the mentionned execption with ocaml 3.12.0
This is a problem since:
code compiles but the exception is raised at runtime
I haven't seen about this in the detailed changelog for Ocaml 3.12.0
Additional information
This is not a big deal, since I can use Thread.id to perform my comparison. I was mostly worried that this wasn't documented in the release changelog.
The text was updated successfully, but these errors were encountered:
The custom comparison operation changed from caml_{mutex_}condition_compare to custom_compare_default, which
fails on comparison with the observed error: "equal: abstract value".
I have no idea whether the change was deliberate or by mistake. We'll
have to wait for confirmation on this.
Original bug ID: 5306
Reporter: sigonnea
Assigned to: @xavierleroy
Status: closed (set by @xavierleroy on 2012-09-25T18:07:21Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0
Fixed in version: 3.12.1+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: mehdi @ygrek
Bug description
Since Ocaml 3.12.0, when comparing Thread.self() to something, the following exception is raised : Invalid_argument "equal: abstract value"
How to reproduce: execute
in the toplevel. This returns "- : bool = true" with ocaml <= 3.11.2 and raises the mentionned execption with ocaml 3.12.0
This is a problem since:
Additional information
This is not a big deal, since I can use Thread.id to perform my comparison. I was mostly worried that this wasn't documented in the release changelog.
The text was updated successfully, but these errors were encountered: