-
-
Save FROGGS/1938e9ecf4c5b82b5437 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Perl6/World.nqp b/src/Perl6/World.nqp | |
index 9e87f11..b85a61c 100644 | |
--- a/src/Perl6/World.nqp | |
+++ b/src/Perl6/World.nqp | |
@@ -331,7 +331,7 @@ class Perl6::World is HLL::World { | |
method load_module($/, $module_name, %opts, $cur_GLOBALish) { | |
# Immediate loading. | |
my $line := HLL::Compiler.lineof($/.orig, $/.from, :cache(1)); | |
- my $module := Perl6::ModuleLoader.load_module($module_name, %opts, | |
+ my $module := nqp::gethllsym('perl6', 'ModuleLoader').load_module($module_name, %opts, | |
$cur_GLOBALish, :$line); | |
# During deserialization, ensure that we get this module loaded. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment