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

Harden type simplification and subsumption checking #51

Open
LPTK opened this issue Dec 20, 2021 · 0 comments
Open

Harden type simplification and subsumption checking #51

LPTK opened this issue Dec 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@LPTK
Copy link
Contributor

LPTK commented Dec 20, 2021

There is a lot we can do to make sure that type simplification does the right thing. (Currently, the result of type simplification is only used to pretty-print type inference results, and there are some known bugs, such as this.)

For example, we should probably add a "full" testing mode that makes sure the simplified type is always equivalent to the raw inferred one. We could also experiment with using simplified types in following test blocks, which might actually improve the overall type inference running time (to verify). This could be done in tests run separately, making sure the new inferred types are the same (or at least, equivalent).

After we have this, the implementation of type simplification will become significantly hardened.

@LPTK LPTK added the enhancement New feature or request label Dec 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
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant