-
Notifications
You must be signed in to change notification settings - Fork 70
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
Parsing issues with MetaCoq #892
Comments
Not sure if it is the same, but for my project, the parsing is messed up almost each time I edit something containing utf8 characters like 𝓘 or 𝒯. The only fix is to reopen vscode, which gets annoying very quickly. |
@terencode can you please tell us which version are you on? |
vscoq 2.2.1, coq 8.19.2 |
see https://coq.zulipchat.com/#narrow/channel/237662-VsCoq-devs-.26-users/topic/VsCoq.20randomly.20crashes.20when.20opening.20a.20file/near/481334265 for a minimal example.
|
can you try with coq/coq#19864 ? |
This looks like a metacoq issue, they do something with an option which can modify another option |
It doesn't even work, |
It causes coq/vscoq#892 because `optwrite` is not supposed to be able to add persistent objects (libobject) to Coq's state but `set_option_value` does add one. It's also bugged as `set_option_value ~stage:Interp (fun _ v -> v) key i` sets the option to its current value not a new value. In other words `Set MetaCoq Template Monad Debug.` has no effect but its existence causes bugs. Since nobody complained about it not working it's not worth fixing it instead of deleting it (also I'm not sure it can be fixed with the currently available APIs).
Thanks for investigating @SkySkimmer . Should we open an issue in metacoq? |
At the moment, basically all the files in https://github.com/thomas-lamiaux/generating_recursors creates parsing issue.
I can not exactly isolate a file as it happens from time to time when I open files.
You can check out the issue by cloning the repo, doing make, and trying to check the files in the folder recursors_api.
I am using coq 8.19.2, the associated version of Equations and MetaCoq and vscoq 2.1.7.
The text was updated successfully, but these errors were encountered: