bathos/Ecmascript-Sublime

async delete()

stevenxxiu opened this issue · 3 comments

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(){

  }
}

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

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

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

Fixed in 1.0.3