Skip to content

Commit

Permalink
fix: 4.14 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrinberg committed Sep 25, 2024
1 parent aa92c73 commit 100e284
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/import.ml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ module Option = struct
let iter t ~f = if is_none t then () else f (value_exn t)
end
end

module Int = struct
let[@warning "-32"] hash (x : int) = Hashtbl.hash x

include Stdlib.Int
end

0 comments on commit 100e284

Please sign in to comment.