Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make CompUnitRepo.new do something sensible
  • Loading branch information
lizmat committed May 4, 2015
1 parent 31f3db1 commit 52bf35d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/CompUnitRepo.pm
Expand Up @@ -6,6 +6,8 @@ class CompUnitRepo {
my Mu $p6ml := nqp::gethllsym('perl6', 'ModuleLoader');
my $lock = Lock.new;

method new(Str $spec) { INCLUDE-SPEC2CUR($spec) }

method files($file, :$name, :$auth, :$ver) {
for @*INC -> $spec {
if INCLUDE-SPEC2CUR($spec) -> $cur {
Expand Down

0 comments on commit 52bf35d

Please sign in to comment.