Skip to content

Commit

Permalink
Normalize paths from cached modules
Browse files Browse the repository at this point in the history
  • Loading branch information
tjammer committed Dec 20, 2023
1 parent b7a7681 commit 2dad136
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/module.ml
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,8 @@ let object_names () =
Hashtbl.fold
(fun _ cached set ->
match cached with
| Cached (Cfile (name, _), _, _) -> Sset.add (name ^ ".o") set
| Cached (Cfile (name, _), _, _) ->
Sset.add (normalize_path (name ^ ".o")) set
| Cached (Clocal _, _, _) | Functor _ -> set
| Located _ -> set)
module_cache Sset.empty
Expand Down

0 comments on commit 2dad136

Please sign in to comment.