macro expansion problem
berdario opened this issue · comments
berdario commented
With this input file:
var mori = require('mori');
var foo = ki (vector 1 2 3)
console.log(foo);
I obtain this:
var mori$610 = require('mori');
var foo$620 = mori$499.vector(1, 2, 3);
console.log(foo$620);
which is obviously incorrect
I never used sweet.js before, so I'm not sure why is it expanding the whole file as a macro, and not only the ki statement
Luca Antiga commented
See #3