New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic module loading by require in another modules has broken recently? #5996
Comments
From asato.wakisaka@gmail.comWith recent moarvm, loading modules dynamically by require ::("Some::Module") in another module fails and throws error. The sample codes above works fine in rakudo-2016.11, but throws exception like "No such symbol 'C::B'" in recent one. $ perl6 -version And, it runs properly when the "require" is placed under main, not in the module. (ref: skaji/Crust-issue#1 ) It seems recent changes about lexical "use" affected? Regards. Asato Wakisaka (github.com/astj) |
From @LLFournConfirmed. As you say, it's probably because require hasn't been updated to LL # New Ticket Created by Asato Wakisaka With recent moarvm, loading modules dynamically by require The sample codes above works fine in rakudo-2016.11, but throws exception $ perl6 -version And, it runs properly when the "require" is placed under main, not in the It seems recent changes about lexical "use" affected? Regards. Asato Wakisaka (github.com/astj) |
The RT System itself - Status changed from 'new' to 'open' |
From @ninerFixed by commits 63cf5cac00, 3e86d0fa9a, 5b98caa35a and 6771deefa4. |
@niner - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130535 (status was 'resolved')
Searchable as RT130535$
The text was updated successfully, but these errors were encountered: