-
Notifications
You must be signed in to change notification settings - Fork 266
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
Crash during translation #3792
Comments
I got errors I could not find a simple way to fix, besides the obvious fix of adding Witness as a child to SubsetTypeDecl 3792__module.bpl(3299,31): Error: quantifiers are not allowed in triggers |
This PR fixes #3792 I fixed two things here: - Subset type declarations were not taking the witness into account in their children - Translation to Boogie was wrong if the receiver of a function call expr was not trigger compatible 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>
…ang#4189) This PR fixes dafny-lang#3792 I fixed two things here: - Subset type declarations were not taking the witness into account in their children - Translation to Boogie was wrong if the receiver of a function call expr was not trigger compatible 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>
Dafny version
4.0.1
Code to produce this issue
Command to run and resulting output
What happened?
A crash occurred and no translation/verification was made.
What type of operating system are you experiencing the problem on?
Windows
The text was updated successfully, but these errors were encountered: