Skip to content

Commit

Permalink
fix(compiler): Resolve names when doing CRC checks (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer committed Apr 21, 2021
1 parent 8f40383 commit 15ea9a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/src/typed/module_resolution.re
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ module Dependency_graph =
file_older(srcpath, objpath)
&& List.for_all(
((name, crc)) => {
let out_file_name = get_output_name(name);
let resolved = resolve_unit(name);
let out_file_name = get_output_name(resolved);
Fs_access.file_exists(out_file_name)
&& (
switch (crc) {
Expand Down

0 comments on commit 15ea9a1

Please sign in to comment.