Problem
I have a file open in VS Code and the Problems pane is showing a warning about the file. When I close the file, the warning is still listed in the Problems pane.
Repro
-
Use View->Problems to make the Problems pane visible if it isn't already.
-
Open a folder in VS Code. (I've tried it both with and without a dfyconfig.toml file. The issue occurs with both.)
-
Open or create a file LingeringWarnings.dfy with the following contents:
method M() returns (r: int)
ensures r < 10
This should show a warning in the Problems pane.
-
Close the file. The warning is still showing in the Problems pane.
Version
I'm using Dafny IDE version 3.4.4. In it, I use Dafny version 4.10 or "latest stable release" (which I think are the same at this time).
Mitigation
The only way I know how to get rid of the warning is to restart VS Code. Or to reopen the file, change the file to make the warning go away, save the file, and close it.
Problem
I have a file open in VS Code and the Problems pane is showing a warning about the file. When I close the file, the warning is still listed in the Problems pane.
Repro
Use View->Problems to make the Problems pane visible if it isn't already.
Open a folder in VS Code. (I've tried it both with and without a
dfyconfig.tomlfile. The issue occurs with both.)Open or create a file
LingeringWarnings.dfywith the following contents:This should show a warning in the Problems pane.
Close the file. The warning is still showing in the Problems pane.
Version
I'm using Dafny IDE version 3.4.4. In it, I use Dafny version 4.10 or "latest stable release" (which I think are the same at this time).
Mitigation
The only way I know how to get rid of the warning is to restart VS Code. Or to reopen the file, change the file to make the warning go away, save the file, and close it.