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

Tactics: make splice_t always run without admit/lax #3336

Merged
merged 5 commits into from
Jun 29, 2024

Conversation

mtzguido
Copy link
Member

In the interactive mode, flycheck queries are run with lax=true in the environment, which causes SMT queries to be dropped. This in turn will "confuse" the Pulse checker whenever we are doing flychecking, and report spurious errors such as FStarLang/pulse#122.

This is a bigger problem with confusion between --admit_smt_queries true, --lax, and the env.lax and env.admit fields. I'm wrapping up a PR about that.

Meanwhile, just make all entries into a splice_t tactic run with admit=false and lax=false.

Another thing we should do is simply not flycheck syntax extension blobs. Emacs' fstar-mode does this already, but apparently not the VS code extension. We have an internal environment flag flychecking:bool for this purpose, but it's not set from VS code queries apparently.

@mtzguido mtzguido enabled auto-merge June 29, 2024 21:45
@mtzguido mtzguido merged commit 2f0f45f into FStarLang:master Jun 29, 2024
2 checks passed
@mtzguido mtzguido deleted the splice_no_lax branch June 29, 2024 21:57
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

Successfully merging this pull request may close these issues.

1 participant