-
Notifications
You must be signed in to change notification settings - Fork 261
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
Opaque functions passed as arguments causes type checking errors #4202
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
Comments
EkanshdeepGupta
added
the
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
label
Jun 20, 2023
See also #3504 |
MikaelMayer
added a commit
that referenced
this issue
Jun 22, 2023
This PR fixes #4202 I added the corresponding test. <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dafny version
4.1.0
Code to produce this issue
Command to run and resulting output
What happened?
Because opaque functions generate an extra argument, that is causing type-checking to fail when an opaque function is passed as an argument.
What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: