Hi,
I am trying to implement a PMC for complex numbers. For that I have
created a file 'complex.pmx' which implements 'add_same()'.
However, during test I found that 'add_same()' is never called.
This is consistent with the fact, that there is no call to add_same() in
lib/Parrot/OpLib/core.pm.
The missing add_same() can also be verified e.g. with PerlArrays. When
adding two PerlArrays I would have expected a message from the
default.pmc, telling me that 'add_same()' is not defined. However
default.pmc tells me, tht add() is not defined.
The vtable-functions add_int(), add_float() and add() seem to be OK.
I have added a patched t/pmc/perlarray.t, which bunks out on the last test.
CU, Bernhard
--
*************************************************
Bernhard Schmalhofer
Senior Developer
Biomax Informatics AG
Lochhamer Str. 11
82152 Martinsried, Germany
Tel: +49 89 89 55 74 - 839
Fax: +49 89 89 55 74 - 25
PGP: https://ssl.biomax.de/pgp/
Email: mailto:[EMAIL PROTECTED]
Web: http://www.biomax.de
*************************************************