Matt Diephouse <[EMAIL PROTECTED]> wrote:
> Leopold Toetsch <[EMAIL PROTECTED]> wrote:
>> Seems to be another ordering problem, where a hash is used instead of an
>> array with inherited vtable methods. pylong.dump has already the wrong
>> entry:
>>
>>      'destroy' => 'default',
>>
>> in the suoer hash.

> I don't think it's an ordering problem (and I can say that now that
> I've read all the code closely). 'default' isn't used when pmc2c2.pl
> is searching for inherited vtable methods: it's only used when none of
> the super classes contains a method by that name.

pmclass PyLong extends BigInt dynpmc group python_group {
                       ^^^^^^
void
Parrot_BigInt_destroy(Interp* interpreter, PMC* pmc)
{
...
        Parrot_BigInt_destroy,

As the behavior is different on two of my machines, it still smells like
an hash-related ordering issue.

leo

Reply via email to