-
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
multi sub not importing when precompiled #3346
Comments
From @raydiakSee attached. I've only tested this on JVM. When run with -Iblib, dispatch fails. When run with -Ilib, it appears to work correctly, but the stack trace shows A being called from B...don't know if thats expected behavior, but it surprised me enough to mention it. |
From @FROGGSCan you put that code in a repo or gist? I can't open the tarball... |
The RT System itself - Status changed from 'new' to 'open' |
From @FROGGSperl6-m seems to reveal it a bit: I can explain this: Now we know that different compilation units are in charge to give the full list of candidates, but something happens so that the candidate of A is not added to the proto of B: |
From @FROGGSThe candidate in A is added to the proto as long as we compile A.pm, but after deserializing A we only have the proto of B. You can prove that by added "BEGIN say &foo.candidates;" before and after the multi declaration as well as in the test.p6 after the use statement. |
Migrated from rt.perl.org#121319 (status was 'open')
Searchable as RT121319$
The text was updated successfully, but these errors were encountered: