You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> var m = require("mori");
undefined
> m.toClj({j: 42});
Error: No protocol method IEmptyableCollection.-empty defined for type object: [object Object]
at x (/Users/jed/tmp/node_modules/mori/mori.js:17:63)
at Na (/Users/jed/tmp/node_modules/mori/mori.js:19:96)
at Oc (/Users/jed/tmp/node_modules/mori/mori.js:59:358)
at v (/Users/jed/tmp/node_modules/mori/mori.js:385:474)
at Function.b [as d] (/Users/jed/tmp/node_modules/mori/mori.js:387:109)
at Function.a [as b] (/Users/jed/tmp/node_modules/mori/mori.js:385:42)
at Object.b (/Users/jed/tmp/node_modules/mori/mori.js:422:95)
at Object.c [as toClj] (/Users/jed/tmp/node_modules/mori/mori.js:422:168)
at repl:1:3
at realRunInThisContextScript (vm.js:22:35)
>
Adding other properties does not change the behavior. Changing "j" to anything else seems to avoid the issue.
The text was updated successfully, but these errors were encountered:
noonian
changed the title
toClj throws exception for js object with property "j"
toClj throws exception for js object with property "j" having a numeric value
Mar 15, 2017
This is a funny one.
Using node 7.4.0 and mori 0.3.2:
Adding other properties does not change the behavior. Changing "j" to anything else seems to avoid the issue.
The text was updated successfully, but these errors were encountered: