False positive used-before-assignment
for homonym between subscript in comprehension and assignment in except block
#6069
Labels
Bug 🪲
C: used-before-assignment
Issues related to 'used-before-assignment' check
False Positive 🦟
A message is emitted but nothing is wrong with the code
Regression
Milestone
False positive for
used-before-assignment
from subscript notation in comprehension followed by definition of that same variable later in an except block.Originally posted by @skshetry in #6035 (comment)
The text was updated successfully, but these errors were encountered: