Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS nodes produced by compile() should have source in their loc #315

Open
RReverser opened this issue May 29, 2014 · 1 comment
Open

JS nodes produced by compile() should have source in their loc #315

RReverser opened this issue May 29, 2014 · 1 comment

Comments

@RReverser
Copy link

RReverser commented May 29, 2014

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).

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2404867-js-nodes-produced-by-compile-should-have-source-in-their-loc?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github).
@RReverser
Copy link
Author

@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 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant