You have used wrong method name for multiplication overloading. Correct code
should do
o.__mult = the_mul;
instead of
o.__mul = the_mul;
----
BR,
Vitali Falileev
2008/8/20 Marco Maggi <[EMAIL PROTECTED]>
> ... it happens with "__mod", too:
>
> var the_new = function (value) {
> var o = $new(null);
>
> o.n = value;
> return o;
> };
>
> the_new(3) % 5;
>
> I am on a i686-pc-linux-gnu, GCC 4.3.1,
> Neko 1.7.1. Running GDB tells me that
> the crash happens in "neko_flush_stack()".
>
> --
> Marco Maggi
>
>
>
> --
> Neko : One VM to run them all
> (http://nekovm.org)
>
--
BR,
Vitali Falileev
http://insideable.com
ICQ: 75008864
--
Neko : One VM to run them all
(http://nekovm.org)