-
Notifications
You must be signed in to change notification settings - Fork 74
vscoq incorrectly parses (@
as not a valid in constr scope when ssreflect is (transitively) Require
d
#1055
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
Comments
Can anyone else confirm whether or not this is an issue on my machine or if vscoq is incapable of handling https://github.com/mit-plv/fiat-crypto/blob/847d6a74e7205e8010ff9e2f405f6d30f100978a/src/Assembly/WithBedrock/SymbolicProofs.v#L351 ? |
Seems like it's a problem handling |
Proof using ...
gives "Command not supported (No proof-editing in progress)." even after Lemma(@
as not a valid in constr scope (Proof using ...
gives "Command not supported (No proof-editing in progress)." even after Lemma)
I am also getting this with Derive rewrite_pass_Listable SuchThat (@FinitelyListable rewrite_pass rewrite_pass_Listable) As rewrite_pass_FinitelyListable.
Proof. prove_ListableDerive. Qed.
Global Existing Instances rewrite_pass_Listable rewrite_pass_FinitelyListable. |
I think I've seen a problem with some Ltac notations before, but I never managed to pin it down. Thanks for reporting this issue. |
Is this slated to be fixed soon? It's quite frustrating to have vscoq be unable to handle files with |
Is there any way to invoke the thing that vscoq does on reloading the window from the command line? Currently I've narrowed down the issue to Require Import Crypto.Assembly.Symbolic.
Definition foo := Set.
Check (@foo). |
Okay, here's a minimal-ish reproducing example: From Coq Require Import ssreflect.
Definition foo := Set.
Check (@foo). |
(@
as not a valid in constr scope (Proof using ...
gives "Command not supported (No proof-editing in progress)." even after Lemma)(@
as not a valid in constr scope when ssreflect is (transitively) Require
d
More minimized: Declare ML Module "rocq-runtime.plugins.ssreflect".
Definition foo := Set.
Check (@foo). |
Thanks! |
Proof using Type.
is perfectly valid, but somehow vscoqtop does not see this. Presumably it has somehow gotten desynchronized from the document state?The text was updated successfully, but these errors were encountered: