-
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
Language server does not seem to respect options in project file #4703
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
Comments
fzaiser
added
the
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
label
Oct 20, 2023
Merged
keyboardDrummer
added a commit
that referenced
this issue
Oct 23, 2023
Fixes #4703 ### Description Enable the language server to use the options `disable-nonlinear-arithmetic` and the Z3 executable path, when they are specified in the project file ### How has this been tested? A XUnit test has been added for `disable-nonlinear-arithmetic` <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>
atomb
pushed a commit
that referenced
this issue
Oct 23, 2023
Fixes #4703 ### Description Enable the language server to use the options `disable-nonlinear-arithmetic` and the Z3 executable path, when they are specified in the project file ### How has this been tested? A XUnit test has been added for `disable-nonlinear-arithmetic` <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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dafny version
4.3.0
Code to produce this issue
Command to run and resulting output
What happened?
dafny verify
correctly complains because nonlinear arithmetic is disabled. But in VS Code, the lemma verifies. It seems that the language server ignores the option--disable-nonlinear-arithmetic
in the project file.What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: