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

Annotated assign is unsatisfiable #58

Open
adsharma opened this issue Jul 22, 2021 · 1 comment
Open

Annotated assign is unsatisfiable #58

adsharma opened this issue Jul 22, 2021 · 1 comment

Comments

@adsharma
Copy link

def foo():
    j: float = 200
    return 42

This type checks ok with mypy and pyright. But when run with typpete I get:

Constraints collection took  0.12059378623962402s
Constraints solving took  0.0006952285766601562s
Check: unsat
WARNING: optimization with quantified constraints is not supported
Solving relaxed model took  0.009663581848144531s
Unsat:
Body type in line 1
Writing output to inference_output
@adsharma
Copy link
Author

Fixed by adsharma@a6a406f

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

No branches or pull requests

1 participant