Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created June 12, 2016 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FROGGS/5f71459f95e2daf1f0886365ea7733fe to your computer and use it in GitHub Desktop.
Save FROGGS/5f71459f95e2daf1f0886365ea7733fe to your computer and use it in GitHub Desktop.
diff --git a/src/core/CompUnit/PrecompilationRepository.pm b/src/core/CompUnit/PrecompilationRepository.pm
index 2976e02..16a0eb2 100644
--- a/src/core/CompUnit/PrecompilationRepository.pm
+++ b/src/core/CompUnit/PrecompilationRepository.pm
@@ -244,7 +246,7 @@ class CompUnit::PrecompilationRepository::Default does CompUnit::PrecompilationR
$RMD("id: $dependency.id(), src: $dependency.src(), spec: $dependency.spec()") if $RMD;
my $path = self.store.path($compiler-id, $dependency.id);
if $path.e {
- spurt($path ~ '.rev-deps', "$dependency.id()\n", :append);
+ spurt($path ~ '.rev-deps', "$id\n", :append);
}
@dependencies.push: $dependency;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment