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

Support covariant TypeVars #1471

Open
eltoder opened this issue Jul 18, 2023 · 0 comments
Open

Support covariant TypeVars #1471

eltoder opened this issue Jul 18, 2023 · 0 comments
Labels
cat: generics Generic, TypeVar, containers enhancement

Comments

@eltoder
Copy link

eltoder commented Jul 18, 2023

I did not find any open issues or any notes on https://google.github.io/pytype/support.html, but feel free to close as duplicate if I missed it. It appears that covariant TypeVars are not supported. I'm getting:

line 6, in <module>: argument "covariant" to TypeVar not supported yet [not-supported-yet]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat: generics Generic, TypeVar, containers enhancement
Projects
None yet
Development

No branches or pull requests

2 participants