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

Null PMC access when accessing type object belonging to an outer role from within an inner class in Rakudo #2512

Closed
p6rt opened this issue Oct 13, 2011 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 13, 2011

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

Searchable as RT101296$

@p6rt
Copy link
Author

p6rt commented Oct 13, 2011

From @masak

<masak> nom​: role A[$B] { class C { method foo() { say $B } }; method
bar { C.foo } }; class D { }; A[D].bar
<p6eval> nom 3e66bd​: OUTPUT«Null PMC access in find_method('gist')␤
in sub say at src/gen/CORE.setting​:4957␤ in method foo at
/tmp/xCHvZokqR7​:1␤ in method bar [...]
* masak submits rakudobug
<moritz> I guess it doesn't like the inner class being composed at
compile time, before the role is being concretized

@p6rt
Copy link
Author

p6rt commented Oct 13, 2011

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 21, 2012

From @coke

On Thu Oct 13 00​:30​:55 2011, masak wrote​:

<masak> nom​: role A[$B] { class C { method foo() { say $B } }; method
bar { C.foo } }; class D { }; A[D].bar
<p6eval> nom 3e66bd​: OUTPUT«Null PMC access in find_method('gist')␤
in sub say at src/gen/CORE.setting​:4957␤ in method foo at
/tmp/xCHvZokqR7​:1␤ in method bar [...]
* masak submits rakudobug
<moritz> I guess it doesn't like the inner class being composed at
compile time, before the role is being concretized

NPA gone​:

20​:04 <[Coke]> nom​: role A[$B] { class C { method foo() { say $B } }; method
  bar { C.foo } }; class D { }; A[D].bar
20​:04 <p6eval> rakudo b86628​: OUTPUT«Mu()␤»

Is this sufficient to close the ticket?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 21, 2012

From @masak

coke (>)​:

Is this sufficient to close the ticket?

I would say so; the Null PMC access is gone. Resolving ticket.

@p6rt
Copy link
Author

p6rt commented Oct 21, 2012

@masak - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Oct 21, 2012
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant