The following crashes neko 1.7.1:
var the_mul = function (b) {
return this.n * b;
};
var the_new = function (value) {
var o = $new(null);
o.n = value;
o.__mul = the_mul;
return o;
};
$print(the_new(3) * 5);
it should be some very basic thing because
commenting out various lines changes nothing.
Example: the program still crashes when
commenting out "o.__mul = the_mul"
--
Marco Maggi
--
Neko : One VM to run them all
(http://nekovm.org)
