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

async, get and set on shorthand object functions #166

Closed
nfour opened this issue Apr 17, 2016 · 1 comment
Closed

async, get and set on shorthand object functions #166

nfour opened this issue Apr 17, 2016 · 1 comment

Comments

@nfour
Copy link
Contributor

nfour commented Apr 17, 2016

export default {
  async get() { return 1 },
  get a() { return this._a },
  set a(v) { this._a = v },
}

In this example async, get and set are not highlighted, but it all is when within a class.

@nfour nfour changed the title async on shorthand object functions async get and set on shorthand object functions Apr 17, 2016
@nfour nfour changed the title async get and set on shorthand object functions async, get and set on shorthand object functions Apr 17, 2016
@gandm gandm closed this as completed in 48467eb Apr 17, 2016
@gandm
Copy link
Owner

gandm commented Apr 17, 2016

Thanks for the report.

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