-
Notifications
You must be signed in to change notification settings - Fork 257
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
Insert explicit assertion broken #4401
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
part: language server
Support for LSP in Dafny (server part; client is in ide-vscode repo)
Comments
MikaelMayer
added
the
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
label
Aug 8, 2023
fabiomadge
added
the
part: language server
Support for LSP in Dafny (server part; client is in ide-vscode repo)
label
Aug 13, 2023
MikaelMayer
added a commit
that referenced
this issue
Aug 14, 2023
keyboardDrummer
added a commit
that referenced
this issue
Aug 15, 2023
Fixes #4401 Previously, implicit assertions were inserted at the wrong place in the presence of modules, and implicit existential assertions were printed with wrong variables. This PR fixes both. <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> --------- Co-authored-by: Remy Willems <[email protected]>
keyboardDrummer
added a commit
to keyboardDrummer/dafny
that referenced
this issue
Sep 15, 2023
Fixes dafny-lang#4401 Previously, implicit assertions were inserted at the wrong place in the presence of modules, and implicit existential assertions were printed with wrong variables. This PR fixes both. <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> --------- Co-authored-by: Remy Willems <[email protected]>
keyboardDrummer
added a commit
that referenced
this issue
Sep 19, 2023
Fixes #4401 Previously, implicit assertions were inserted at the wrong place in the presence of modules, and implicit existential assertions were printed with wrong variables. This PR fixes both. <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> --------- Co-authored-by: Remy Willems <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
part: language server
Support for LSP in Dafny (server part; client is in ide-vscode repo)
Dafny version
4.2.0
Code to produce this issue
Another error there:
Command to run and resulting output
What happened?
The inserted text is garbage and not at the right place
Even worse if the method is wrapped in a class / module.
What type of operating system are you experiencing the problem on?
Windows
What solutions to offer
ImplicitFailingAssertionCodeActionProvider.cs line 38: would take care of the second
The text was updated successfully, but these errors were encountered: