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

Check of declared type against inferred type doesn't consider constraints. #9

Open
nsbgn opened this issue Apr 20, 2021 · 0 comments
Open
Labels
enhancement New feature or request type-inference Improvements to the type inference algorithm.

Comments

@nsbgn
Copy link
Contributor

nsbgn commented Apr 20, 2021

A declared type of x is more general than an inferred type of x | x @ A , but this is not checked.

@nsbgn nsbgn added bug Something isn't working type-inference Improvements to the type inference algorithm. enhancement New feature or request and removed bug Something isn't working labels Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request type-inference Improvements to the type inference algorithm.
Projects
None yet
Development

No branches or pull requests

1 participant