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 delete() #27

Closed
stevenxxiu opened this issue Jan 30, 2017 · 3 comments
Closed

async delete() #27

stevenxxiu opened this issue Jan 30, 2017 · 3 comments
Assignees
Labels

Comments

@stevenxxiu
Copy link

The following is valid but shows an error. Delete is a common method for maps, sets, so it might be a common use case:

class A {
  async delete(){

  }
}
@stevenxxiu
Copy link
Author

I'm not that familiar with .sublime-syntax but I think this patch works at line 3854:

    asyncMethod_AFTER_ASYNC:
      - match: '(({{identifierName}}))'

@bathos bathos self-assigned this Jan 30, 2017
@bathos bathos added the bug label Jan 30, 2017
@bathos
Copy link
Owner

bathos commented Jan 30, 2017

yep, that is the exact correction needed. Looks like the same fix is needed for "get" and "set", too.

@bathos
Copy link
Owner

bathos commented Jan 30, 2017

Fixed in 1.0.3

@bathos bathos closed this as completed Jan 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants