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 calling a closure in an attribute containing the keyword 'self' in Rakudo #884

Closed
p6rt opened this issue Apr 11, 2009 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Apr 11, 2009

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

Searchable as RT64654$

@p6rt
Copy link
Author

p6rt commented Apr 11, 2009

From @masak

<masak> rakudo​: class A { has $.cl = { self.say } }; A.new.cl()()
<p6eval> rakudo 5b679a​: OUTPUT«Null PMC access in get_pmc_keyed() [...]
* masak submits rakudobug 307

@p6rt
Copy link
Author

p6rt commented Jun 30, 2009

From @jnthn

On Sat Apr 11 15​:02​:06 2009, masak wrote​:

<masak> rakudo​: class A { has $.cl = { self.say } }; A.new.cl()()
<p6eval> rakudo 5b679a​: OUTPUT«Null PMC access in get_pmc_keyed() [...]
* masak submits rakudobug 307

Works in latest Rakudo; added test to S12-attributes/instance.t to make
sure it keeps on working.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Jun 30, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jun 30, 2009

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

@p6rt p6rt closed this as completed Jun 30, 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