Skip to content

Commit

Permalink
fix task local storage: type was too specific
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Dec 4, 2024
1 parent fa40cf8 commit ea1af6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/hmap_ls_.real.ml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let[@inline] set_in_local_hmap (k : 'a Hmap.key) (v : 'a) : unit =
(** [with_in_local_hmap k v f] calls [f()] in a context
where [k] is bound to [v] in the local hmap. Then it restores the
previous binding for [k]. *)
let with_in_local_hmap (k : 'a Hmap.key) (v : 'a) f : unit =
let with_in_local_hmap (k : 'a Hmap.key) (v : 'a) f =
let h = get_local_hmap () in
match Hmap.find k h with
| None ->
Expand Down

0 comments on commit ea1af6e

Please sign in to comment.