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

Ensure type decls are types #3118

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Ensure type decls are types #3118

wants to merge 6 commits into from

Conversation

mtzguido
Copy link
Member

This fixes #2933 by adding a Type ascription whenever none is present.

This does lead to some regressions, since if there was no ascription / expected type we would take one from the corresponding val, if any, but now we do not. This means in some places we must manually annotate some things, duplicating information from the val.

Here's the full F* regressions (some of them are legit problems now caught) d5e7844

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

Successfully merging this pull request may close these issues.

type definitions not enforced to be types
1 participant