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

Does espree support the exponentiation operator? #246

Closed
mysticatea opened this issue Jan 29, 2016 · 12 comments
Closed

Does espree support the exponentiation operator? #246

mysticatea opened this issue Jan 29, 2016 · 12 comments

Comments

@mysticatea
Copy link
Member

It arrived the stage 4 (finished).

let kilo = 2 ** 10;

https://tc39.github.io/process-document/
https://twitter.com/bterlson/status/692795335891099648

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@gyandeeps
Copy link
Member

You might wanna open this issue on acorn repo?

@nzakas
Copy link
Member

nzakas commented Jan 29, 2016

We can add it since its stage 4.

@nzakas
Copy link
Member

nzakas commented Jan 29, 2016

I'm not sure what Acorn's policy is on ES7 yet.

@mysticatea
Copy link
Member Author

@nzakas Thank you very much for acornjs/acorn#382!

@ljharb
Copy link
Contributor

ljharb commented Feb 10, 2016

relevant eslint issue

@ljharb
Copy link
Contributor

ljharb commented Feb 10, 2016

Any chance this could make it in, so that it can make it up to eslint? ES7 is a-comin!

@nzakas
Copy link
Member

nzakas commented Feb 10, 2016

Only blocker was waiting on an Acorn release, and that just happened, so it can make its way soon. (I need to add some exponentiation operator tests to Espree to validate the token output.)

@ljharb
Copy link
Contributor

ljharb commented Feb 10, 2016

Yay, thanks!

@nzakas
Copy link
Member

nzakas commented Feb 10, 2016

I took a quick look at this. Unfortunately, Acorn has several breaking changes that makes this a more involved upgrade than I expected. :(

nzakas added a commit that referenced this issue Feb 10, 2016
@nzakas
Copy link
Member

nzakas commented Feb 11, 2016

I found a bug in Acorn's implementation, so blocked on that now: acornjs/acorn#384

@nzakas
Copy link
Member

nzakas commented Feb 17, 2016

The Acorn bug has been fixed, just waiting for a new release.

@ljharb
Copy link
Contributor

ljharb commented Feb 25, 2016

yay, Acorn has released v3.0.4

nzakas added a commit that referenced this issue Feb 25, 2016
@nzakas nzakas closed this as completed in da35d98 Feb 25, 2016
nzakas added a commit that referenced this issue Feb 25, 2016
New: Support ecmaVersion 7 (fixes #246)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants