{"action":"created","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1463","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1463/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1463/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1463/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1463","id":63287090,"number":1463,"title":"Can't resolve exported struct field from different package from exported var","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ignatov","id":426890,"avatar_url":"https://avatars.githubusercontent.com/u/426890?v=3","gravatar_id":"","url":"https://api.github.com/users/ignatov","html_url":"https://github.com/ignatov","followers_url":"https://api.github.com/users/ignatov/followers","following_url":"https://api.github.com/users/ignatov/following{/other_user}","gists_url":"https://api.github.com/users/ignatov/gists{/gist_id}","starred_url":"https://api.github.com/users/ignatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignatov/subscriptions","organizations_url":"https://api.github.com/users/ignatov/orgs","repos_url":"https://api.github.com/users/ignatov/repos","events_url":"https://api.github.com/users/ignatov/events{/privacy}","received_events_url":"https://api.github.com/users/ignatov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/6","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/milestones/1.0.0","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/6/labels","id":169045,"number":6,"title":"1.0.0","description":"","creator":{"login":"mtoader","id":372850,"avatar_url":"https://avatars.githubusercontent.com/u/372850?v=3","gravatar_id":"","url":"https://api.github.com/users/mtoader","html_url":"https://github.com/mtoader","followers_url":"https://api.github.com/users/mtoader/followers","following_url":"https://api.github.com/users/mtoader/following{/other_user}","gists_url":"https://api.github.com/users/mtoader/gists{/gist_id}","starred_url":"https://api.github.com/users/mtoader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtoader/subscriptions","organizations_url":"https://api.github.com/users/mtoader/orgs","repos_url":"https://api.github.com/users/mtoader/repos","events_url":"https://api.github.com/users/mtoader/events{/privacy}","received_events_url":"https://api.github.com/users/mtoader/received_events","type":"User","site_admin":false},"open_issues":76,"closed_issues":186,"state":"open","created_at":"2012-09-02T21:49:33Z","updated_at":"2015-03-20T21:18:24Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-20T19:23:37Z","updated_at":"2015-03-20T21:20:51Z","closed_at":null,"body":"Hi,\r\n\r\nUsing 43e38a2982ad138f4ba189e957cc54e784725767 I can't use exported fields from structs anymore, this was working in c275c80bc1ec93236b8df47f37310519c853ceb7\r\n\r\nTo reproduce:\r\n\r\n$GOPATH/src/demo/pack/pack.go\r\n```go\r\npackage pack\r\n\r\ntype Demo struct {\r\n\tField int\r\n}\r\n\r\nvar DemoVar = &Demo{Field: 1}\r\n```\r\n\r\n$GOPATH/src/demo/main.go\r\n```go\r\npackage main\r\n\r\nimport \"demo/pack\"\r\n\r\nfunc main() {\r\n\ta := pack.DemoVar\r\n\t_ = a.Field // this works\r\n\tb := &pack.Demo{Field: 2}\r\n\t_ = b.Field // this works\r\n\tc := *pack.DemoVar\r\n\t_ = c.Field // this fails\r\n}"},"comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments/84152076","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1463#issuecomment-84152076","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1463","id":84152076,"user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T21:20:51Z","updated_at":"2015-03-20T21:20:51Z","body":"Please see: https://www.dropbox.com/s/ymppfv385ew4xld/u.tar.gz?dl=0 I can reproduce it on a different project but that one is closed source, I'm trying to find an open source version of it with the problem. "}}