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
Generics not typechecked #55
Comments
Yeah, that seems correct. @dkgi, any comment? |
@sinancepel was looking into this recently. |
Basically what happens here is that we try to figure out whether |
Any further progress to support generics? |
Over the course of the past few months we have done a lot of work on correctly supporting type variables. The given example as well as many many others now work correctly. Please file new issues for any other type variable issues. |
The following code passes typechecking:
In general it seems that functions with types involving generics are not typechecked.
For comparison, mypy produces the following errors:
The text was updated successfully, but these errors were encountered: