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
{{ message }}
Repository navigation
Failing to infer type upon concretization of generic (inferred <nothing>) #14785
Expected Behavior
Correctly infer that T=str
No errors
Actual Behavior
Inferred T = nothing
Argument 1 to "sirRobin" of "Baz" has incompatible type "Bar"; expected "Foo[]" [arg-type]
Argument 2 to "sirRobin" of "Baz" has incompatible type "str"; expected < nothing > [arg-type]
Your Environment
Mypy version used: latest
Mypy command-line flags:
Mypy configuration options from mypy.ini (and other config files):
Activity