-
-
Save cygx/cfef662ea505cd68b2e8 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/core/operators.pm b/src/core/operators.pm | |
index 17dacbd..e196e94 100644 | |
--- a/src/core/operators.pm | |
+++ b/src/core/operators.pm | |
@@ -565,7 +565,7 @@ sub INDIRECT_NAME_LOOKUP($root, *@chunks) is raw { | |
} | |
sub REQUIRE_IMPORT($package-name, *@syms) { | |
- my $package = CALLER::OUR::($package-name); | |
+ my $package = ::($package-name); | |
my $who = $package.WHO; | |
unless $who.EXISTS-KEY('EXPORT') { | |
die "Trying to import symbols @syms.join(', ') from '$package-name', but it does not export anything"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cf http://irclog.perlgeek.de/perl6/2015-11-16#i_11545652