Generic matching error when tuple-unpacking result #16310
Labels
bug
mypy got something wrong
topic-inference
When to infer types or require explicit annotations
topic-type-variables
topic-union-types
Here, in
caller_bad
, immediately unpacking the result leads to the second type variable getting bound toint | str
instead of justint
The text was updated successfully, but these errors were encountered: