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

Cannot specify ECMASCRIPT5 as languageIn option in ant/jscomp task #566

Closed
LongSteve opened this issue Jul 31, 2014 · 0 comments
Closed
Assignees

Comments

@LongSteve
Copy link

If you specify languageIn="ECMASCRIPT5" in the ant jscomp task, you get the error:

Can only convert code from ES6 to ES3. Cannot convert from ECMASCRIPT5 to ECMASCRIPT3.

This could be fixed by updating the com.google.javascript.jscomp.CompileTask SetLanguageIn function to accept ECMASCRIPT6 as an input value, or by allowing the ES5->ES3 transpilation.

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

2 participants