Incompatible types when calling generinc __init__
from generic @classmethod
#17937
Labels
bug
mypy got something wrong
__init__
from generic @classmethod
#17937
Bug Report
When calling a generic
__init__
from a generic@classmethod
on a class that is itself not generic,mypy
reports incompatible types.To Reproduce
Expected Behavior
mypy
reports no errors.Actual Behavior
Your Environment
mypy 1.11.2 (compiled: yes)
mypy.ini
(and other config files): N/APython 3.11.7
The text was updated successfully, but these errors were encountered: