You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go get github.com/tschottdorf/goplay && vim $GOPATH/src/github.com/tschottdorf/goplay/oracle_test_boom/main.go
Use :GoCallers on anything, get
/Users/tschottdorf/go/src/github.com/tschottdorf/goplay/oracle_test_boom/main_test.go:10:2: invalid operation: (&(main.X literal)) (value of type *github.com/tschottdorf/goplay/oracle_test_boom.X) has no field or method Foo
oracle: couldn't load packages due to errors: github.com/tschottdorf/goplay/oracle_test_boom/_test
Configuration
vim version:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 15 2015 17:40:14)
Thanks @tschottdorf for the detailed bug report and how to reproduce it (it really helped me!). I've fixed it by removing trailing slashes for each path in the scopes. I've also tested it and it works well. Please pull the latest header to test it. You are free to reopen if the bug still exists. Thanks.
Expected behavior
:GoCallers
should omit the trailing slash at the end of the lineActual behavior
it uses the trailing slash in the package scope, which triggers golang/go#14584 (comment)
Steps to reproduce:
Use :GoCallers on anything, get
Configuration
vim version:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 15 2015 17:40:14)
vim-go version:
fd5661a
go version:
1.6
The text was updated successfully, but these errors were encountered: