Skip Menu |
Report information
Id: 69254
Status: resolved
Priority: 0/
Queue: perl6

Owner: moritz <moritz.lenz+perl [at] gmail.com>
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] Null PMC access when class C does role B is class A in Rakudo
Date: Mon, 21 Sep 2009 13:09:18 +0200
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 389b
<masak> rakudo: class A {}; role B is A {}; class C does B {} <p6eval> rakudo 836c8c: OUTPUT«Null PMC access in get_string()␤in sub trait_mod:is [...] <masak> mwhahaha. * masak submits rakudobug Apocalypse 12 talks about roles doing 'is', so the above is kosher. ("Encapsulated Inheritance".) The result should be, if I understand the idea correctly, that C ends up inheriting from A.
Download (untitled) / with headers
text/plain 131b
I'm pleased to inform you that this awesome and scary features is now implemented correctly, and tested in S14-roles/composition.t
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 246b
On Thu Mar 11 02:27:51 2010, moritz wrote: Show quoted text
> I'm pleased to inform you that this awesome and scary features is now > implemented correctly, and tested in S14-roles/composition.t
This test has regressed in nom. Re-opening. -- Will "Coke" Coleda
Test passes again, and never failed here recently.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org