We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11c79ea commit fdaa9eaCopy full SHA for fdaa9ea
src/vm/jvm/ModuleLoader.nqp
@@ -7,10 +7,10 @@ knowhow ModuleLoader {
7
8
# Put any explicitly specified path on the start of the list.
9
my $explicit;
10
- if !nqp::isnull($explicit) {
11
- try { $explicit := %*COMPILING<%?OPTIONS>{$explicit_path}; }
+ if !nqp::isnull($explicit_path) {
+ try { my $hack; $explicit := %*COMPILING<%?OPTIONS>{$explicit_path}; }
12
}
13
- if nqp::defined($explicit) {
+ if !nqp::isnull($explicit) && nqp::defined($explicit) {
14
nqp::push(@search_paths, $explicit);
15
16
else {
0 commit comments