Skip to content

Commit

Permalink
Fix to build without warnings on 5.2.0
Browse files Browse the repository at this point in the history
OCaml 5.2.0 changes the typing of `while true` loops.

See:
- ocaml/ocaml#11805
- ocaml/ocaml#12295
  • Loading branch information
polytypic committed Sep 16, 2023
1 parent 3af1f71 commit e8776d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kcas_data/hashtbl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ module Xt = struct
done
in
try
ignore
@@
if must_be_done_in_this_tx then
(* If the old buckets have already been accessed, we cannot perform
rehashing outside of the transaction. In this case rehashing
Expand Down

0 comments on commit e8776d0

Please sign in to comment.