Skip to content

Commit d09ce38

Browse files
committed
WIP
1 parent 0ebbcc3 commit d09ce38

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

compiler/lib/warning.ml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ type t =
2020
| `Free_variables_in_primitives
2121
]
2222

23-
module StringTable = Hashtbl.Make (String)
23+
module StringTable = Hashtbl.Make (struct
24+
type t = string
25+
26+
let equal = String.equal
27+
28+
let hash = Hashtbl.hash
29+
end)
2430

2531
module Table = Hashtbl.Make (struct
2632
type nonrec t = t

0 commit comments

Comments
 (0)