Parrot 1.1, base types and inheritance

Andrew Whitworth wknight8111 at gmail.com
Mon Apr 20 15:56:34 UTC 2009


On Sun, Apr 19, 2009 at 10:42 PM, Allison Randal <allison at parrot.org> wrote:
>> https://trac.parrot.org/parrot/ticket/218 - can't sort a PIR subclass
>> of an RPA.

This one is fixed now thanks in part to help from bacek++.

>> https://trac.parrot.org/parrot/ticket/562 - subclassing basic number
>> types fails to inherit basic ops like add, sub, mul and div
>> http://rt.perl.org/rt3/Public/Bug/Display.html?id=59630 - Complex
>> subtraction fails for subclasses of Complex

These two are most definitely related and I'll hopefully merge them later.

>> https://trac.parrot.org/parrot/ticket/556 - setref on derived pmc
>> aggregate class loses data on return
>> https://trac.parrot.org/parrot/ticket/203 - assign_pmc broken for pir
>> subclasses

These two are definitely interrelated, the setref op calls the set_pmc
VTABLE, which for all array-like aggregates defaults back to
assign_pmc internally. So, if assign_pmc isn't subclassable, then
setref and set_pmc aren't either.

>> Can we add some priority to getting inheritance fixed to the next
>> milestone, perhaps 1.2?
>
> Are you volunteering to work on it? If so, welcome, and we'll be happy to
> give you guidance in where to look for more information. If you're asking
> somebody else to work on it, there are a few other more urgent priorities,
> but we will get to it.

I'm on it now. Blair and I are both working on the Matrixy compiler,
so anything that's blocking him is blocking me too. Hopefully we can
get a bug or two worked out before the release tomorrow!

--Andrew Whitworth


More information about the parrot-dev mailing list