not-an-iterable
false positive with class methods with @typing.overload decorator
#8314
Labels
Duplicate 🐫
Duplicate of an already existing issue
Bug description
The typing overloads don't really make sense here, but they are required to reproduce the issue.
Configuration
No response
Command used
Pylint output
Expected behavior
No error.
The issue only appears with an
@overload
ed class method, the following three similar situations work correctly:Class method with no overloads:
Function with overloads:
Function with no overloads:
Pylint version
OS / Environment
OpenSUSE Tumbleweed
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: