Skip to content

Commit 94454f5

Browse files
committed
Use Local_store for the local allocations ref
1 parent 54a164c commit 94454f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typing/typecore.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ let simple_pat_mode mode =
337337
let tuple_pat_mode mode tuple_modes =
338338
{ mode; tuple_modes }
339339

340-
let allocations : Alloc_mode.t list ref = ref []
340+
let allocations : Alloc_mode.t list ref = Local_store.s_ref []
341341

342342
let reset_allocations () = allocations := []
343343

0 commit comments

Comments
 (0)