constructor-super
issue with constructors that use return
and finally
#11092
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
auto closed
The bot closed this issue
bug
ESLint is working incorrectly
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
rule
Relates to ESLint's core rules
The code below triggers the
constructor-super
rule, but I believe it should not. The only paths through this code either always call super and/or always exception out.It also happens if there is a re-throwing
catch
clause and afinally
.It does NOT happen if the
finally
clause isn't present.It also does NOT happen if there's no
return
statement.Environment:
The text was updated successfully, but these errors were encountered: