Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure we spot a compiled file if source absent
  • Loading branch information
lizmat committed Aug 1, 2014
1 parent 1130554 commit d40cc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/CompUnitRepo/Local/File.pm
Expand Up @@ -36,7 +36,7 @@ class CompUnitRepo::Local::File does CompUnitRepo::Locally {
for @extensions -> $extension {
my $path = $base ~ $extension;
return %seen{$base} = CompUnit.new($path,:$name,:$extension)
if $path.IO.f;
if $path.IO.f or ($path ~ '.' ~ $precomp-ext).IO.f;
}
}

Expand Down

0 comments on commit d40cc63

Please sign in to comment.