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

Incorrect type evaluation for tuple constructor call #7116

Closed
erictraut opened this issue Jan 25, 2024 · 1 comment
Closed

Incorrect type evaluation for tuple constructor call #7116

erictraut opened this issue Jan 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@erictraut
Copy link
Collaborator

The following should not generate an error, but it does.

def func4(untyped_iter: Iterable[Any]):
    a: tuple[int, int] = tuple(untyped_iter)  # OK
@erictraut erictraut added the bug Something isn't working label Jan 25, 2024
@erictraut
Copy link
Collaborator Author

Duplicate of #7085.

@erictraut erictraut closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant