Skip to content

Commit

Permalink
Remove dead wood
Browse files Browse the repository at this point in the history
Turns out the CURI $!cver attribute was basically unused
  • Loading branch information
lizmat committed Mar 27, 2022
1 parent f4cba21 commit 1fd2d84
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core.c/CompUnit/Repository/Installation.pm6
@@ -1,6 +1,5 @@
class CompUnit::Repository::Installation does CompUnit::Repository::Locally does CompUnit::Repository::Installable {
has $!lock = Lock.new;
has $!cver = nqp::hllize(nqp::atkey(nqp::gethllsym('default', 'SysConfig').rakudo-build-config(), 'version'));
has %!loaded; # cache compunit lookup for self.need(...)
has %!seen; # cache distribution lookup for self!matching-dist(...)
has $!precomp;
Expand Down Expand Up @@ -214,7 +213,6 @@ sub MAIN(:$name, :$auth, :$ver, *@, *%) {
%provides{ $name } = ~$file => {
:file($id),
:time(try $file.IO.modified.Num),
:$!cver
};
note("Installing {$name} for {$dist.meta<name>}") if $verbose and $name ne $dist.meta<name>;
$destination.spurt($content);
Expand Down

0 comments on commit 1fd2d84

Please sign in to comment.