-
Notifications
You must be signed in to change notification settings - Fork 90
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
Better error message when contract makes certain rows illegal #1323
Merged
Commits on Jun 21, 2023
-
blame caller when tail contains illegal fields
fixes #950 by calculating the fields disallowed in a parameterized tail e.g. in `forall r. { x : Foo ; r }` `x` cannot be present in `r`
Configuration menu - View commit details
-
Copy full SHA for 114e201 - Browse repository at this point
Copy the full SHA 114e201View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef7e960 - Browse repository at this point
Copy the full SHA ef7e960View commit details -
Configuration menu - View commit details
-
Copy full SHA for e53a27b - Browse repository at this point
Copy the full SHA e53a27bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d92b48e - Browse repository at this point
Copy the full SHA d92b48eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35733ab - Browse repository at this point
Copy the full SHA 35733abView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6407b8 - Browse repository at this point
Copy the full SHA f6407b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 123da05 - Browse repository at this point
Copy the full SHA 123da05View commit details -
move constraint checking code to parser
we check for constraints in contract checking and type checking. by moving it to the parser we only have to do it in one place. also, removed constraint checking for enum rows, which doesn't seem to have been doing anything and also we don't want it. `[| 'x ; e |]` does not preclude `'x` showing up in `e` added in VarKindDiscriminant for those places where we do actually just want the enum type. This is mostly for error reporting.
Configuration menu - View commit details
-
Copy full SHA for eca8596 - Browse repository at this point
Copy the full SHA eca8596View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f6de08 - Browse repository at this point
Copy the full SHA 0f6de08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77aeda8 - Browse repository at this point
Copy the full SHA 77aeda8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d227749 - Browse repository at this point
Copy the full SHA d227749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5293e78 - Browse repository at this point
Copy the full SHA 5293e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebee04a - Browse repository at this point
Copy the full SHA ebee04aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.