Handling control statements of any depth in return_linter
#2356
Labels
feature
a feature request or enhancement
return_linter
#2356
I think this double lint is not correct either you see the
if
after anelse
as a new expression, then only the second one should be marked, or you understand anif
with a lot ofelse
as one expression (that's how I would see it) and then only the first one would have to be marked.I'm not entirely sure if it's a bug of this PR or the first one. If it's one of the first, feel free to convert this message into an issue, because then I'll probably have a (simple) solution to fix it and properly handle control statements of any depth.
Originally posted by @MEO265 in #2321 (comment)
The text was updated successfully, but these errors were encountered: