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
Precompiled modules and roles lead to rakudo not recognizing type name #2726
Comments
From @moritzAnother bug condensed from colomon++'s ABC module: # file ./lib/A/Role.pm # file ./lib/A/Class1.pm # file ./lib/A/Class2.pm class A::Classs2 does A::Role { } # file ./lib/A/Conflict.pm sub f(A::Class1 $x) {} running 'ufo && make' produces the following error: mkdir -p `dirname 'blib/lib/A/Role.pir'` Note that the error goes away when removing the 'use A::Class2;' |
From @moritzNote that the error also goes away when using top-level namespaces, eg |
@moritz - Status changed from 'new' to 'open' |
From @jnthnOn Thu Apr 26 12:25:35 2012, moritz wrote:
Fixed now: $ perl6 -Imodules --target=pir modules\A\Role.pm > modules\A\Role.pir $ perl6 -Imodules --target=pir modules\A\Class1.pm > modules\A\Class1.pir $ perl6 -Imodules --target=pir modules\A\Class2.pm > modules\A\Class2.pir $ perl6 -Imodules -e "use A::Conflict; say 'ok'" $ perl6 -Imodules --target=pir modules\A\Conflict.pm > $ perl6 -Imodules -e "use A::Conflict; say 'ok'" Tagging testneeded. /jnthn |
From @zoffixznetTests added in Raku/roast@ebfe979b60 |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#112626 (status was 'resolved')
Searchable as RT112626$
The text was updated successfully, but these errors were encountered: