Skip to content

Commit

Permalink
fix(engine): impl_infos can be duplicated because of names crate
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed Jan 11, 2024
1 parent 15e6191 commit 99cfc34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine/lib/concrete_ident/concrete_ident.ml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ end = struct
state :=
impl_infos
|> List.map ~f:(map_fst Imported.of_def_id)
|> Hashtbl.of_alist_exn (module T)
|> Hashtbl.of_alist_multi (module T)
|> Hashtbl.map ~f:List.hd_exn
|> Option.some

let get_state () =
Expand Down

0 comments on commit 99cfc34

Please sign in to comment.