console.log(mori_map) fails in 0.3.0
tomaskulich opened this issue · comments
tomaskulich commented
it fails consistently for any map or vector; tried this on node v0.10.33
David Nolen commented
@tomaskulich I cannot reproduce this with Node 0.10.35 can you give me the exact steps? Thanks.
tomaskulich commented
The problem solved somehow in 0.3.1 version, I did not examine, what the problem was. In 0.3.0 just printing the hashMap got my Node (v0.10.33) crashed with:
> var m = require('mori');
undefined
> var a = m.hashMap(1,2,3,4);
undefined
> a
/path/to/myproject
var l=H(g);b.c?b.c(l,a,f):b.call(null,l,a,f)}for(var m=L(g),p=ja.tc.b(f)-1;;)i
^
TypeError: Cannot call method 'b' of undefined
at mh (/home/mama/projo/validation-example-browserify/node_modules/mori/mori.js:366:183)
at rh (/home/mama/projo/validation-example-browserify/node_modules/mori/mori.js:372:289)
at jg.v (/home/mama/projo/validation-example-browserify/node_modules/mori/mori.js:375:57)
at ac (/home/mama/projo/validation-example-browserify/node_modules/mori/mori.js:36:285)
at jg.k.toString (/home/mama/projo/validation-example-browserify/node_modules/mori/mori.js:293:156)
at jg.inspect (/home/mama/projo/validation-example-browserify/node_modules/mori/mori.js:425:156)
at formatValue (util.js:212:25)
at Object.inspect (util.js:140:10)
at REPLServer.self.writer (repl.js:177:19)
at finish (repl.js:291:38)
David Nolen commented
k thanks, closing