Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #64654] Null PMC access when calling a closure in an attribute containing the keyword 'self' in Rakudo

0 views
Skip to first unread message

Carl Mäsak

unread,
Apr 11, 2009, 6:02:07 PM4/11/09
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #64654]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64654 >


<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

jnthn@jnthn.net via RT

unread,
Jun 30, 2009, 12:27:39 PM6/30/09
to perl6-c...@perl.org
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


0 new messages