michaelangeloio / does-it-throw

lsp server for finding ES statements that throw!
MIT License
84 stars 0 forks source link

re-throw does not get recognized #89

Closed arivera-xealth closed 8 months ago

arivera-xealth commented 9 months ago

The following sudo code doesn't work:

async helloWorld() {
  try {
    something()
  catch (e) {
    throw err
  }
}

Because the top-level caller is not wrapped in try, this should be marked as a throw statement.