-
Notifications
You must be signed in to change notification settings - Fork 1
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
"Could not find symbol" error occurs when you use module A::B::C within A::B's class definition #5340
Comments
From @hoelzroI found this issue when trying to use XML::Query; the attached tarball has a golfed-down example. I've also attached a picture that illustrates the "use" relationship between the various units. When I try to run test.pl in the tarball, I get the following error:
Disabling precompilation fixes the issue, as does rearranging the contents of lib/Common/A.pm so that "use Common::A::B" comes before "unit class Common::A". Removing any seemingly superfluous use statement fixes the issue, so it appears this is one of those wacky dependency graph + precomp bugs. |
From @hoelzro |
From @LLFournLooks similar to RT #128156. https://rt.perl.org/Public/Bug/Display.html?id=128156 On Fri, May 27, 2016 at 10:49 PM Rob Hoelz <perl6-bugs-followup@perl.org>
|
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetWhile RT#128156 is now marked as resolved, this bug is still present: zoffix@leliana:~/CPANPRC/rakudo$ ./perl6-m -v zoffix@leliana:~/CPANPRC/rakudo$ ./perl6-m -Iz/test-module/lib/ z/test-module/test.pl |
Migrated from rt.perl.org#128268 (status was 'open')
Searchable as RT128268$
The text was updated successfully, but these errors were encountered: