lean4
lean4 copied to clipboard
Unknown constant 'Lean.Elab.Term.elabNumLit' on Go to Definition
Description
Use the following MWE and trigger Go to Definition at <cursor>:
#eval <cursor>1
This yields an error:
[Error - 11:37:43 AM] Request textDocument/definition failed.
Message: unknown constant 'Lean.Elab.Term.elabNumLit'
Code: -32603
I would not expect an error here.
Versions
Current nightly.
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.
On leanprover/lean4:nightly-2024-04-21, I'm just getting a pop-up "No definition found for '1'". Can anyone else reproduce?
On
leanprover/lean4:nightly-2024-04-21, I'm just getting a pop-up "No definition found for '1'". Can anyone else reproduce?
You get the popup, but you also get a server error under Output > Lean: Editor.