Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created November 15, 2013 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FROGGS/1938e9ecf4c5b82b5437 to your computer and use it in GitHub Desktop.
Save FROGGS/1938e9ecf4c5b82b5437 to your computer and use it in GitHub Desktop.
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