Enhancement of unreachable_code_linter
to Detect Unreachable Code in Loops
#2105
Labels
feature
a feature request or enhancement
The
unreachable_code_linter
should also mark code inside if, else, for, and while loops as unreachable, especially when a return or stop function is called.The following code currently generates only one annotation:
And this one generates none:
The text was updated successfully, but these errors were encountered: