Skip to content

Commit 4adc84c

Browse files
Fix
1 parent 9d57a66 commit 4adc84c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/domain.ocaml4.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ module Domain = struct
5252

5353
module DLS : DLSS = struct
5454
type 'a key = {
55-
value: 'a option ref;
55+
mutable value: 'a option;
5656
initialiser: unit -> 'a;
5757
}
5858

5959
let new_key ?split_from_parent initialiser =
6060
{ value = None; initialiser }
6161

62-
let get k =
62+
let get (k: 'a key) =
6363
match k.value with
6464
| Some v -> v
6565
| None ->

0 commit comments

Comments
 (0)