You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mypy detects and reports overlapping function overloads that differ in return type.
In the example below, it correctly reports that the second overload of func1 overlaps the first overload. However, when the concrete type str is replaced by a generic type _T, it fails to report the error.
Mypy detects and reports overlapping function overloads that differ in return type.
In the example below, it correctly reports that the second overload of
func1
overlaps the first overload. However, when the concrete typestr
is replaced by a generic type_T
, it fails to report the error.The text was updated successfully, but these errors were encountered: