Marco Maggi a écrit :
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"

This was JIT-related.
It should be fixed on CVS, thanks for reporting.

Best,
Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to