-
Notifications
You must be signed in to change notification settings - Fork 352
async class method not highlighted #506
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
Comments
Thanks for posting this issue! I'll have a fix in 'develop' shortly! |
Merged
@amadeus Sorry, I didn't notice this before. This issue is applied on Object too. So, this: const obj = {
async method() {
await asyncFunc();
}
}; Just in case you didn't notice. |
I see, do you have some documentation for this ES7 feature somewhere that I could reference? |
Tracked down on babel, and I found this spec about |
I added it to objects in #507 as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This class
should have
async
keyword highlighted asjsAsyncKeyword
. But it is not. It just havejsClassBlock
.If I'm correct adding
jsAsyncKeyword
to this line should fix this, because it worksfor me.
The text was updated successfully, but these errors were encountered: