coq-lsp
coq-lsp copied to clipboard
Goto definition doesn't work for record constructors
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.
coq/ast.ml needs fixing I think!