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

Fail to parse valid javascript. #1861

Closed
aslushnikov opened this issue Oct 2, 2017 · 0 comments
Closed

Fail to parse valid javascript. #1861

aslushnikov opened this issue Oct 2, 2017 · 0 comments
Assignees
Labels

Comments

@aslushnikov
Copy link

Parsing the following javascript reports error (online demo):

class Foo {
  async get() {
    return 42;
  }
}

However, this is a valid javascript.

@ariya ariya self-assigned this Jun 10, 2018
@ariya ariya added the defect label Jun 10, 2018
ariya added a commit to ariya/esprima that referenced this issue Jun 10, 2018
@ariya ariya closed this as completed in c0dfa42 Jun 15, 2018
ariya added a commit to ariya/esprima that referenced this issue Jun 15, 2018
ariya added a commit to ariya/esprima that referenced this issue Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants