False positive used-before-assignment with inline if #7779
Labels
C: used-before-assignment
Issues related to 'used-before-assignment' check
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
Pylint gives error:
foobar.py:1:4: E0601: Using variable 'foo' before assignment (used-before-assignment)
When run in python:
Configuration
No response
Command used
Pylint output
Expected behavior
No errors
Pylint version
OS / Environment
Windows
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: