False positive no-unreachable catch in generator #12880
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
help wanted
The team would welcome a contribution from the community for this issue
rule
Relates to ESLint's core rules
The
no-unreachable
rule does not understand thatyield
can throw an error an report an error.Here is small repro:
Online demo
The text was updated successfully, but these errors were encountered: