> $ tar xzf err2.tgz
> $ cd err2
> $ ../parrot t/pmc/dumper_1.imc
> parrot: src/hash.c:256: promote_hash_key: Assertion `key' failed.
> aborted
>
> It is caused by 'callmethod "dumper"' (err2/library/dumper.imc:82)
Ah, I stumbled over this yesterday. The problem is that the
callmethod <STRING> op hasn't been implemented yet, as noted in PDD15
(but not, I now see, in the inline documentation). Quite why you get
such an uninformative error message I'm not sure.
NB. The same holds true for callmethodcc <STRING> and both forms of
the tailcallmethod ops.
Simon
> On Thu, 11 Mar 2004, Jens Rieks wrote:
>> $ tar xzf err2.tgz
>> $ cd err2
>> $ ../parrot t/pmc/dumper_1.imc
>> parrot: src/hash.c:256: promote_hash_key: Assertion `key' failed.
>> aborted
>>
>> It is caused by 'callmethod "dumper"' (err2/library/dumper.imc:82)
> Ah, I stumbled over this yesterday. The problem is that the
> callmethod <STRING> op hasn't been implemented yet,
Yep. And Parrot was missing an error check for too many arguments. Now
it gives:
error:imcc:arg count mismatch: op# 723 'callmethod_sc' needs 0 given 1
in file 'library/dumper.imc' line 83
included from 'dumper_1.imc' sub '_dumper' line 20
> Simon
leo