Skip to content

Commit

Permalink
Fix repo-chain changes check
Browse files Browse the repository at this point in the history
It was incorrectly checking the compilation unit ID against the
what is considered the original first REPO.id in the chain.  It
should be checking against the *current* first REPO.id!
  • Loading branch information
lizmat committed Apr 21, 2022
1 parent c029308 commit 4a7da9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.c/CompUnit/PrecompilationRepository.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ Need to re-check dependencies.")
$resolve := True;
}

if $unit-id ne $first-repo-id {
if $REPO-id ne $first-repo-id {
$!RMD("Repo chain changed:
$unit-id
$REPO-id
$first-repo-id
Need to re-check dependencies.")
if $!RMD;
Expand Down

0 comments on commit 4a7da9a

Please sign in to comment.