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

Rakudo cannot refer to a role with short name inside a module #727

Closed
p6rt opened this issue Feb 26, 2009 · 3 comments
Closed

Rakudo cannot refer to a role with short name inside a module #727

p6rt opened this issue Feb 26, 2009 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Feb 26, 2009

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

Searchable as RT63510$

@p6rt
Copy link
Author

p6rt commented Feb 26, 2009

From @masak

<masak> rakudo​: module A { role B {}; class C does A​::B {} }
<p6eval> rakudo e6b713​: RESULT«{ ... }»
<masak> rakudo​: module A { role B {}; class C does B {} }
<p6eval> rakudo e6b713​: OUTPUT«Null PMC access in find_method()␤ [...]
* masak submits rakudobug

Don't know what the spec says about this, but it feels fairly natural
to be able to refer to a role/class A​::B as "B" when inside "A". In
any case, it shouldn't go all NPMCA on the user.

@p6rt
Copy link
Author

p6rt commented Mar 28, 2010

From @moritz

test now passes, resolving ticket...

@p6rt
Copy link
Author

p6rt commented Mar 28, 2010

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

@p6rt p6rt closed this as completed Mar 28, 2010
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