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

type[X] | type[Y] -> type[X | Y] #175

Closed
AlexWaygood opened this issue Feb 4, 2022 · 2 comments · Fixed by #363
Closed

type[X] | type[Y] -> type[X | Y] #175

AlexWaygood opened this issue Feb 4, 2022 · 2 comments · Fixed by #363

Comments

@AlexWaygood
Copy link
Collaborator

And, similarly, Union[type[X], type[Y]] -> type[Union[X, Y]].

Same basic idea as #110. Came up in python/typeshed#7087.

@tomasr8
Copy link
Contributor

tomasr8 commented Apr 9, 2023

Hi! Is this issue still relevant? If so, I'd like to give it a try :)

@AlexWaygood
Copy link
Collaborator Author

Hi! Is this issue still relevant? If so, I'd like to give it a try :)

Yes, very much so — feel free! I took a quick look at it some time ago and remember it being slightly trickier than I anticipated — but the codebase has changed a lot since, so that won't necessarily still hold true :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants