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

"Definition came from this buffer, but precise location is unknown." #223

Open
vzaliva opened this issue Aug 28, 2019 · 3 comments
Open

Comments

@vzaliva
Copy link
Contributor

vzaliva commented Aug 28, 2019

When I try to jump to a definition in the local buffer by pressing M-. I got this error: "Definition came from this buffer, but precise location is unknown."

@cpitclaudel
Copy link
Owner

Can you give an example file (and your version of Coq?)

@vzaliva
Copy link
Contributor Author

vzaliva commented Aug 30, 2019

Coq 8.8.2. I will need to find small enough example for you to reproduce this, but it happening quite often.

@kovach
Copy link

kovach commented Dec 20, 2021

with Coq 8.14.0, I have an example:

Require Import Coq.Init.Nat.
Check Nat.add. (* process up to here. jump to definition takes me to add in Nat.v *)
Require Import Arith.
Check Nat.add. (* now it jumps to PeanoNat.v (because of the include?) *)
Check add.     (* this still goes to Nat.v *)

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

3 participants