{"action":"opened","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2011","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2011/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2011/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2011/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2011","id":117538133,"number":2011,"title":"Variable resolved to a package of the same name","user":{"login":"horkhe","id":798874,"avatar_url":"https://avatars.githubusercontent.com/u/798874?v=3","gravatar_id":"","url":"https://api.github.com/users/horkhe","html_url":"https://github.com/horkhe","followers_url":"https://api.github.com/users/horkhe/followers","following_url":"https://api.github.com/users/horkhe/following{/other_user}","gists_url":"https://api.github.com/users/horkhe/gists{/gist_id}","starred_url":"https://api.github.com/users/horkhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horkhe/subscriptions","organizations_url":"https://api.github.com/users/horkhe/orgs","repos_url":"https://api.github.com/users/horkhe/repos","events_url":"https://api.github.com/users/horkhe/events{/privacy}","received_events_url":"https://api.github.com/users/horkhe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T08:30:01Z","updated_at":"2015-11-18T08:30:01Z","closed_at":null,"body":"Consider the following setup:\r\n\r\n```go\r\npackage foo\r\n\r\ntype Foo struct {\r\n\tBar int\r\n}\r\n```\r\n\r\n```go\r\npackage bazz\r\n\r\nfunc f(foo *foo.Foo) int {\r\n\treturn foo.Bar // variable foo is resolved to package foo resulting in Bar being unresolved\r\n}\r\n```"}}