Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(🐞) "Cannot infer type argument" when one of multiple arguments can't be inferred #16100

Closed
KotlinIsland opened this issue Sep 13, 2023 · 1 comment
Labels
bug mypy got something wrong

Comments

@KotlinIsland
Copy link
Contributor

from typing import Generic, _T as T
def f1(key: list[T], value: list[T]): ...

f1([1], [])  # Cannot infer type argument 1 of "f"  [misc]
@KotlinIsland KotlinIsland added the bug mypy got something wrong label Sep 13, 2023
@ilevkivskyi
Copy link
Member

Strict duplicate of #230

@ilevkivskyi ilevkivskyi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

No branches or pull requests

2 participants