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

Goto definition doesn't work for record constructors #856

Open
Alizter opened this issue Oct 10, 2024 · 1 comment
Open

Goto definition doesn't work for record constructors #856

Alizter opened this issue Oct 10, 2024 · 1 comment
Labels
kind: bug Something isn't working part: lsp server

Comments

@Alizter
Copy link
Collaborator

Alizter commented Oct 10, 2024

Record A := Build_A { }.

Locate Build_A.
(* Constructor Foo.Build_A *)
About Build_A.

If I do goto-definition on Build_A on line 4, I would expect to be jumped to line 1 but nothing happens.

Other kinds of constructors like in:

Inductive foo := bar.
About bar.

Have the correct behaviour.

@Alizter Alizter added kind: bug Something isn't working part: lsp server labels Oct 10, 2024
@ejgallego
Copy link
Owner

coq/ast.ml needs fixing I think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working part: lsp server
Projects
None yet
Development

No branches or pull requests

2 participants