Skip to content
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

Verification does not recover from parsing failure #429

Open
tchajed opened this issue Sep 5, 2023 · 2 comments
Open

Verification does not recover from parsing failure #429

tchajed opened this issue Sep 5, 2023 · 2 comments

Comments

@tchajed
Copy link

tchajed commented Sep 5, 2023

In the default onchange setting for Automatic Verification, after a parsing failure Dafny does not recover and start reporting verification successes. This basically makes it unusable, except by frequently reloading the VS Code window.

Here's a video of me doing something basic where the status gets stuck on "Parsing...": Dafny VS Code bug.

I'm using Dafny 4.2.0 and v3.1.2 of the VS Code extension. I'm on an Apple Silicon Mac.

@keyboardDrummer
Copy link
Member

keyboardDrummer commented Sep 5, 2023

Hey, sorry to hear you're running into this! This is awful.

Could you try to set your VSCode Dafny to use "latest nightly" ? Go to VSCode's preferences, filter on Dafny, and at the bottom of the options list you can find the version selector. We've resolved several performance related issues after 4.2, and it seems you're running into them. I'm planning to release a new version soon but currently doing more testing.

@tchajed
Copy link
Author

tchajed commented Sep 5, 2023

The latest nightly does seem to fix the issue, thanks for pointing that out! I hope you can release 4.3 soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants