Failing code
Seems to happen with pretty much any code, but this is an example:
method MultipleReturns(x: int, y: int) returns (more: int, less: int)
requires y > 0
ensures less < x
ensures x < more
{
more := x + y;
less := x - y;
}
Steps to reproduce the issue
- Dafny version: 4.10.0.0
- Dafny VSCode extension version: 3.4.4
- .NET 9
- Windows 11 24H2
- Open VS Code or restart Dafny with a file with the above code open, status bar says "Verification Succeeded"
- Delete a brace or something, status bar says "Parsing Failed"
- Undo
Expected behavior
- Status bar continues to update rather than getting stuck at "Resolving..."
Actual behavior
- Status bar says "Resolving..." forever (sometimes on 2nd or 3rd time).
- Does not say Verification Succeeded again until Dafny is retarted
- Gutter and tests tab show checkmarks, hover tooltips look correct, etc. Also verification succeeds at the command line.
- Dafny Language Server output: "[Error - 11:32:10 PM] Server process exited with code 0." (when verbose logging is turned on, it seems correct and continues to respond.)
Failing code
Seems to happen with pretty much any code, but this is an example:
Steps to reproduce the issue
Expected behavior
Actual behavior