Skip to content

Commit

Permalink
Fix module loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Aug 27, 2012
1 parent 094eda3 commit b23d950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ModuleLoader.pm
Expand Up @@ -7,9 +7,9 @@ knowhow ModuleLoader {

# Put any explicitly specified path on the start of the list.
# Otherwise see if --library was passed.
my $explicit := 0;
my $explicit;
try { $explicit := %*COMPILING<%?OPTIONS>{$explicit_path}; }
if $explicit {
if !nqp::isnull($explicit) && $explicit {
@search_paths.push($explicit);
}
else {
Expand Down Expand Up @@ -95,7 +95,7 @@ knowhow ModuleLoader {
}
for $source.WHO {
my $sym := $_.key;
if !%known_symbols{$sym} {
if !nqp::existskey(%known_symbols, $sym) {
my $source_is_stub := 0;
try {
my $source_mo := $_.value.HOW;
Expand Down

0 comments on commit b23d950

Please sign in to comment.