monodeep12 / rog-go

0 stars 0 forks source link

godef does not find location for pointers #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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