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

Implement tuple cases for typevartuple constraints #13586

Merged
merged 2 commits into from
Sep 8, 2022

Conversation

jhance
Copy link
Collaborator

@jhance jhance commented Sep 1, 2022

This implements cases for homogenous and non-homogenous tuples in the supertype of branch for constraints checking for variadic generics. This fleshes it out enough that afterwards we can work on making the logic work for the subtype-of branch as well.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@JukkaL
Copy link
Collaborator

JukkaL commented Sep 5, 2022

Some tests are failing, and now they seem legitimate (previously some tests were failing on master).

@jhance jhance force-pushed the class-constraint-tuple-tests branch from 22aab34 to 4f8880f Compare September 8, 2022 14:56
@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2022

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@jhance jhance merged commit b265daa into master Sep 8, 2022
@jhance jhance deleted the class-constraint-tuple-tests branch September 8, 2022 15:31
@tyralla tyralla mentioned this pull request Nov 18, 2022
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.

2 participants