zxpbenson/rog-go

godef does not find location for pointers

Closed this issue · 1 comments

What steps will reproduce the problem?

1. Create a struct type containing a pointer to another type
2. Define the other type somewhere
3. Attempt to use godef to find the definition for the type referenced to by 
the pointer

What is the expected output? What do you see instead?

I expect for `godef` to find the type, but it just finds the pointer.


What version of the product are you using? On what operating system?

Using the latest version of godef on OSX Mavericks.

The issue was confirmed here on GitHub: 
https://github.com/fatih/vim-go/issues/110#issuecomment-48149847

Original issue reported on code.google.com by monokr...@monokro.me on 7 Jul 2014 at 7:58

Original comment by rogpeppe@gmail.com on 7 Jul 2014 at 8:49

  • Changed state: Fixed