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

Comments

Projects
None yet
2 participants
@aslushnikov

aslushnikov commented Oct 2, 2017

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