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
/usr/local/lib/node_modules/spider-script/cli.js:92
vm.runInNewContext(compilerOutput.result, sandbox);
^
TypeError: Property '__$503654756$5$__' of object object is not a function
at evalmachine.<anonymous>:30:81
at Object.ModuleStore.getAnonymousModule (/usr/local/lib/node_modules/spider-script/node_modules/traceur/bin/traceur.js:953:30)
at evalmachine.<anonymous>:1:29
at /usr/local/lib/node_modules/spider-script/cli.js:92:12
at fs.js:272:14
at Object.oncomplete (fs.js:108:15)
I tried to run the sample code on spiderlang.org (with a modification so it didn't depend on a global function that wasn't there)
But this throws an error:
Whereas this code runs fine:
So it looks like something's going on with the way
for in
loops are being compiled.Is this a bug in Spider or did I get the install instructions wrong?
The text was updated successfully, but these errors were encountered: