# New Ticket Created by  Asato Wakisaka 
# Please include the string:  [perl #130535]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130535 >


With recent moarvm, loading modules dynamically by require ::("Some::Module") 
in another module fails and throws error.
Here are sample codes to reproduce: https://github.com/skaji/Crust-issue

The sample codes above works fine in rakudo-2016.11, but throws exception like 
"No such symbol 'C::B'" in recent one.

$ perl6 -version
This is Rakudo version 2016.12-239-gc405f0672 built on MoarVM version 
2016.12-71-g331a6b43
implementing Perl 6.c.

And, it runs properly when the "require" is placed under main, not in the 
module. (ref: https://github.com/skaji/Crust-issue/pull/1 )

It seems recent changes about lexical "use" affected?

Regards.

Asato Wakisaka (github.com/astj)

Reply via email to