Argument 1 to type_check_only
has incompatible type type[S[T, *Ts]]
; expected type[S[T, *Ts]]
#19093
Labels
Consider this
.pyi
code snippet:When ran through
mypy
(checked with1.15.0
and the master branch), the following error is reportedmypy playground repro
Without the additional
T
type parameter, the false positive error disappears. It also disappears if I remove thetuple
baseclass.And as far as I could tell, it doesn't seem to be associated with a particular config option or cli flag.
The text was updated successfully, but these errors were encountered: