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

Vscoq language server crashing with "File "plugins/ltac2/tac2core.ml", line 1914, characters 59-65: Assertion failed." #1024

Closed
taeyoung-1 opened this issue Feb 3, 2025 · 5 comments

Comments

@taeyoung-1
Copy link

Maybe a duplicate of #1009 , but
From Ltac2 Require Import Ltac2. Ltac2 foo () := (). Ltac bar := ltac2:(foo).

yields error

[Error - 6:06:15 PM] Server process exited with code 0.
[top , 41050, 1738573576.329784] ==========================================================
[top , 41050, 1738573576.329816] File "plugins/ltac2/tac2core.ml", line 1914, characters 59-65: Assertion failed.
[top , 41050, 1738573576.329818] ==========================================================
[Info - 6:06:16 PM] Connection to server got closed. Server will restart.

@SkySkimmer
Copy link
Contributor

What vscoq and coq versions?

@taeyoung-1
Copy link
Author

I'm sorry,
vscoq-language-server 2.2.3, coq 8.20.0

@SkySkimmer
Copy link
Contributor

The failing assert is https://github.com/coq/coq/blob/3d5120eb27f0e7ec08ce9449762dae5441299dda/plugins/ltac2/tac2core.ml#L1914
Printing ltac2:(...) in ltac1 at "raw" level (what comes out of the parser) is not supported in that Coq version (I believe it works in 9.0).
IDK why vscoq is trying to do this printing.

@gares
Copy link
Member

gares commented Feb 3, 2025

Looks like another instance of the bug @rtetley already fixed, dunno if the fix is merged

@rtetley
Copy link
Collaborator

rtetley commented Feb 3, 2025

Indeed this was closed by #1021, the release is imminent !

@rtetley rtetley closed this as completed Feb 3, 2025
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

No branches or pull requests

4 participants