Normal class with untyped argument(s) in __init__
is incorrectly treated as generic
#1859
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Sample code
Expected behavior
The type
C[str]
is invalid becauseC
is not generic.Actual behavior
No errors / warnings.
The text was updated successfully, but these errors were encountered: