Skip to content
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

Things end up in the wrong namespace sometimes in Rakudo #775

Closed
p6rt opened this issue Mar 14, 2009 · 3 comments
Closed

Things end up in the wrong namespace sometimes in Rakudo #775

p6rt opened this issue Mar 14, 2009 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Mar 14, 2009

Migrated from rt.perl.org#63866 (status was 'resolved')

Searchable as RT63866$

@p6rt
Copy link
Author

p6rt commented Mar 14, 2009

From @masak

<Matt-W> rakudo​: module A​::B { role B { }; class D does A​::B​::B { } }
<p6eval> rakudo 41267f​: RESULT«{ ... }»
<Matt-W> see, no problem
<masak> no problem after putting the code in A/B.pm either, it seems.
<Matt-W> no
<Matt-W> but
<Matt-W> I made an A/A.pm which uses A​::B
<Matt-W> the test script uses A​::A
<Matt-W> and it says
<Matt-W> The type A​::B​::B does not exist. at line 6, near "{\n}\n\n\n"
<jnthn> Matt-W​: Does having the thingy you're using pre-compiled make
a difference?
<jnthn> Matt-W​: Also, do you do the "use" after a module A​::B; or
inside a module A​::B { }
<jnthn> If those two are true, I suspect I know what it is.
<Matt-W> don't know about precompilation, yes to the latter
<jnthn> Matt-W​: Bet it ain't getting a fresh @​?NS
<Matt-W> precompiling both modules makes it work
<Matt-W> in fact, precompiling just A/A.pm works
* masak submits rakudobug
<jnthn> Matt-W​: OK, I got a good idea then of what that is.
<Matt-W> jnthn++

@p6rt
Copy link
Author

p6rt commented Mar 20, 2009

From @jnthn

This ticket is a dupe of 63958, which has now been fixed; resolving.

@p6rt
Copy link
Author

p6rt commented Mar 20, 2009

@jnthn - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Mar 20, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant