Skip to content

Commit

Permalink
Revert "Remove extraneous information from $?FILE"
Browse files Browse the repository at this point in the history
This reverts commit 2e69d7a.
  • Loading branch information
lizmat committed Feb 14, 2020
1 parent 2e69d7a commit 4829711
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/core.c/CompUnit/PrecompilationUnit.pm6
Expand Up @@ -80,7 +80,9 @@ class CompUnit::PrecompilationDependency::File does CompUnit::PrecompilationDepe
has Str $!serialized-spec;
has CompUnit::DependencySpecification $.spec;

method source-name() { $.src }
method source-name() {
"$.src ($.spec.short-name())"
}

method deserialize(str $str) {
my $parts := nqp::split("\0", $str);
Expand Down
2 changes: 1 addition & 1 deletion src/core.c/CompUnit/Repository/Installation.pm6
Expand Up @@ -280,7 +280,7 @@ sub MAIN(:$name, :$auth, :$ver, *@, *%) {
$precomp.precompile(
$source,
CompUnit::PrecompilationId.new-without-check($id),
:source-name($source-file),
:source-name("$source-file ($_.key())"),
);
%done{$id} = 1;
}
Expand Down

0 comments on commit 4829711

Please sign in to comment.