ERA001
does not detect commented out case
statements
#10031
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Contributions especially welcome
Commented out
case
statements are ignored if they are missing a body, or have a body and fit on one line:Running:
The first 2
case
blocks should be counted but aren't. Often times I will duplicate and comment out acase
statement to figure out why a pattern isn't matching, only to forget to remove the commented out case.The example with the case/body on one line is less of an issue but still odd, perhaps the
case
statement is preventing the body from being detected.The text was updated successfully, but these errors were encountered: