-
Notifications
You must be signed in to change notification settings - Fork 10
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
Wrong inferred type for values of dictionary #59
Comments
The reason for this is that the type of This will be solved after merging the covariance/contravariance PR, because in this case the return type of |
I tried the covariance/contravariace PR and it returns |
Yes it should give unsat because the return type of Changing |
The program is perfectly correct, I do not think we should change it. The inference should just be able to infer type |
Done |
This issue was moved to caterinaurban/Typpete#2 |
The type inferred for
env
in the following program is wrong:The type should be
Dict[str, float]
butDict[str, int]
is inferred instead.The text was updated successfully, but these errors were encountered: