Skip to content

Commit 99cfc34

Browse files
committed
fix(engine): impl_infos can be duplicated because of names crate
1 parent 15e6191 commit 99cfc34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/lib/concrete_ident/concrete_ident.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ end = struct
174174
state :=
175175
impl_infos
176176
|> List.map ~f:(map_fst Imported.of_def_id)
177-
|> Hashtbl.of_alist_exn (module T)
177+
|> Hashtbl.of_alist_multi (module T)
178+
|> Hashtbl.map ~f:List.hd_exn
178179
|> Option.some
179180

180181
let get_state () =

0 commit comments

Comments
 (0)