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

Improve type inference for calls to set(), list(), and tuple() with union arguments #500

Merged
merged 1 commit into from
Mar 12, 2022

Conversation

JelleZijlstra
Copy link
Contributor

Now list(Sequence[A] | Sequence[B]) will be list[A] | list[B] instead of list[A | B].

…with union arguments

Now list(Sequence[A] | Sequence[B]) will be list[A] | list[B] instead of list[A | B].
@JelleZijlstra JelleZijlstra merged commit 6d8b960 into master Mar 12, 2022
@JelleZijlstra JelleZijlstra deleted the implunion branch March 12, 2022 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant