Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #541 from tony-o/nom
fixes for CURLI until Final Solution™ is inflicted upon us
  • Loading branch information
lizmat committed Sep 28, 2015
2 parents 815eb48 + ae9afc5 commit 9e8b7b4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/core/CompUnitRepo/Local/Installation.pm
Expand Up @@ -202,11 +202,18 @@ See http://design.perl6.org/S22.html#provides for more information.\n";
unless $candi<provides>{$ln}{$type}<file> ~~ /^$path/
}
}
@candi.push: $candi;
my $loader = $candi<provides>{$name}<pm6><file>;
my $vers = Version.new($candi<provides>{$name}{$*VM.precomp-ext}<cver>);
if $*PERL<compiler>.version eqv $vers {
return CompUnit.new($loader, :has_precomp($candi<provides>{$name}{$*VM.precomp-ext}<file>));
} else {
warn "Precomp for $name not available for {$*VM.name} version {$*PERL<compiler>.version}";
}
return CompUnit.new($loader);
}
}
}
@candi
();
}

method short-id() { 'inst' }
Expand Down

0 comments on commit 9e8b7b4

Please sign in to comment.