-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG] LSP CN verify only works the first time it is run. #142
Comments
This is the full backtrace:
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I am running on MacOS Darwin, I have set up a local spam switch with the VERSE-toolchain as described on the readme. I am running the VScode LSP extension by opening the lsp-client folder in VScode and then pressing Cmd+Shift+B to build and run.
The newly opened VSCode instance works, and I can run CN on the current file, but this only works once.
Bug
If I try and run CN on the file again after making changes, after the first verification run which works correctly, every subsequent verification request fails. In the debug output panel on the lsp-client VSCode instance, I see the following exception being raised:
(I've made a modification to cn-lsp/lib/server.ml:run_cn which I've localised to be the location where this exception is thrown to catch it and print the above message.
The first verification run succeeds, so I believe this is something to do with some context being preserved across the subsequent runs causing the solver to fail.
The text was updated successfully, but these errors were encountered: