Jos Visser wrote:

Hi,

Before reporting this as a bug I would like to know if it is not my
shallow understanding of Parrot... :-)


Wrong type on top of stack!


call _sub1

.sub _sub1

Exception handlers and "plain" subs don't play together (yet). You have to use .pcc_sub (parrot calling conventions). Plain subs have their return address on the control stack, where the exception handlers are living too.


s. languages/imcc/docs/calling_conventions.pod

leo



Reply via email to