Class definition in conditionals not correctly found #10238
Labels
Control flow
Requires control flow understanding
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Needs design proposal 🔒
This is a huge feature, some discussion should happen before a PR is proposed
Bug description
Configuration
Command used
Pylint output
Expected behavior
The same error is shown for
Foo
andBar
on lines 23 & 24Bar
in the example is only the sanity check for comparison, not relevant to the bugPylint version
OS / Environment
No response
Additional dependencies
The text was updated successfully, but these errors were encountered: