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: 6361 Reporter:@lpw25 Status: closed (set by @xavierleroy on 2015-12-11T18:26:55Z) Resolution: fixed Priority: normal Severity: minor Version: 4.01.0 Fixed in version: 4.02.0+dev Category: standard library
Bug description
The generic hash function does not terminate on this recursive lazy value:
OCaml version 4.01.0
# #rectypes;;
# #print_length 4;;
# let rec x = lazy x;;
val x : 'a lazy_t as 'a = lazy (lazy (lazy (lazy ...)))
# Hashtbl.hash x;;
The text was updated successfully, but these errors were encountered:
An unfortunate consequence of the fix is that a GC (which short-circuits forward pointers) run can change the hash value (of already forced lazy values).
Original bug ID: 6361
Reporter: @lpw25
Status: closed (set by @xavierleroy on 2015-12-11T18:26:55Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.01.0
Fixed in version: 4.02.0+dev
Category: standard library
Bug description
The generic hash function does not terminate on this recursive lazy value:
The text was updated successfully, but these errors were encountered: