Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

await is not a valid BindingIdentifier #39

Closed
bmeck opened this issue Aug 14, 2017 · 2 comments
Closed

await is not a valid BindingIdentifier #39

bmeck opened this issue Aug 14, 2017 · 2 comments

Comments

@bmeck
Copy link

bmeck commented Aug 14, 2017

https://tc39.github.io/ecma262/#sec-identifiers-static-semantics-early-errors

// a.mjs
let await = 1;
@jdalton
Copy link
Member

jdalton commented Aug 14, 2017

Thanks @bmeck!

Looks like maybe acorn missed this. I'll redirect to them.
Moved to acornjs/acorn#581.

@jdalton jdalton closed this as completed Aug 14, 2017
@jdalton jdalton added rules: es and removed acorn labels Aug 14, 2017
@jdalton
Copy link
Member

jdalton commented Aug 15, 2017

Fixed by 65cc9cf.
I'll be adding a round of unit tests over the next couple of days to solidify support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants