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 datatype constructors for bad type-parameter instantiations #5278

Merged
merged 13 commits into from
Apr 2, 2024

Conversation

RustanLeino
Copy link
Collaborator

This PR add a visit to DatatypeValues to look for illegally instantiated type parameters of types.

It also fixes the error location that gets passed forward in some cases for the new resolver.

Fixes #5274

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@RustanLeino RustanLeino marked this pull request as ready for review March 29, 2024 23:35
@RustanLeino RustanLeino enabled auto-merge (squash) April 1, 2024 17:09
@RustanLeino RustanLeino merged commit 2d4d831 into dafny-lang:master Apr 2, 2024
20 checks passed
@RustanLeino RustanLeino deleted the issue-5274 branch April 3, 2024 19:58
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.

Missing type-characteristic checks
2 participants