# New Ticket Created by Lloyd Fournier
# Please include the string: [perl #125808]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=125808 >
# lib/Foo.pm
use Test;
sub EXPORT {
say GLOBAL.^name; #-> NQPMu
say Test; #-> (Test)
say ::('Test'); #-> Cannot find method 'EXISTS-KEY': no method cache
and no .^find_method
}
#This is perl6 version 2015.07.1-111-ge0f7259 built on MoarVM version
2015.07-8-gb8fdeae
=======
Test is just there as an example symbol for a valid indirect call. This was
working not too long ago afaik.
My amateur opinion is because
https://github.com/rakudo/rakudo/blob/nom/src/core/operators.pm#L530
INDIRECT_NAME_LOOKUP relies on GLOBAL being defined and for some reason it
is NQPMu.