async delete()
stevenxxiu opened this issue · 3 comments
stevenxxiu commented
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 commented
I'm not that familiar with .sublime-syntax
but I think this patch works at line 3854:
asyncMethod_AFTER_ASYNC:
- match: '(({{identifierName}}))'
bathos commented
yep, that is the exact correction needed. Looks like the same fix is needed for "get" and "set", too.
bathos commented
Fixed in 1.0.3