-
Notifications
You must be signed in to change notification settings - Fork 8
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
Flychecking Pulse? #122
Comments
Making a note that this is an error from the flycheck: with verification enabled we do not get the error. |
I can no longer reproduce this with the recent changes to the matcher. FWIW, the vscode extension now discards errors from the flycheck process if we've already checked the top-level definition using the main process, and errors from the flycheck process are shown as warnings. |
This PR made this particular issue go away, but this one still shows a spurious error for me (flycheck fails on cond_lemma, normal mode fails on the assert): ```pulse
fn fold_pre
(b: bool)
(y: vprop)
requires (if b then emp else y)
ensures (if b then emp else y)
{
assert (pure False);
if not (b) {
assert (pure (not (b)));
cond_lemma #b #emp #y;
} else {
()
}
}
```
let _ = assert False I think FStarLang/FStar#3337 would solve it, at the cost of verifying the Pulse fragment twice (one for each process). Until we maybe add flychecking support to the Pulse checker as we discussed today. Relabeling this issue. |
In the following snippet
I get the error
If I comment out the assert, the error goes away.
The text was updated successfully, but these errors were encountered: