JS nodes produced by compile() should have `source` in their `loc`
RReverser opened this issue · comments
Ingvar Stepanyan commented
JavaScript AST nodes produced by CoffeeScript.compile(csAST, options)
should contain inputSource
value in loc.source
according to Mozilla Parser API spec so it would be safe to pass such AST to further transformers without breaking linkage to original files (which needs to be preserved for source map generation on final step).
Ingvar Stepanyan commented
@michaelficarra Could you please have a look at this? Seems to be trivial thing to add, but I can't compile CoffeeScriptRedux on Windows machine :(