{"action":"created","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2278","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2278/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2278/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2278/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2278","id":127985714,"number":2278,"title":"Unresolved type error when dereferencing struct field containing function pointer","user":{"login":"drathier","id":3695812,"avatar_url":"https://avatars.githubusercontent.com/u/3695812?v=3","gravatar_id":"","url":"https://api.github.com/users/drathier","html_url":"https://github.com/drathier","followers_url":"https://api.github.com/users/drathier/followers","following_url":"https://api.github.com/users/drathier/following{/other_user}","gists_url":"https://api.github.com/users/drathier/gists{/gist_id}","starred_url":"https://api.github.com/users/drathier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drathier/subscriptions","organizations_url":"https://api.github.com/users/drathier/orgs","repos_url":"https://api.github.com/users/drathier/repos","events_url":"https://api.github.com/users/drathier/events{/privacy}","received_events_url":"https://api.github.com/users/drathier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/labels/resolving","name":"resolving","color":"e11d21"}],"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":73,"closed_issues":551,"state":"open","created_at":"2012-09-02T21:49:33Z","updated_at":"2016-01-21T18:16:34Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-01-21T18:10:27Z","updated_at":"2016-01-21T21:07:07Z","closed_at":null,"body":"    type subFunc struct {\r\n    \tf *func(event interface{})\r\n    }\r\n    \r\n    func (s subFunc) When(event interface{}) {\r\n    \t(*s.f)(event)\r\n    }\r\n\r\nI get \"Unresolved type 's'` error on this code in win10. PyCharm 4.5.4 with go plugin 0.9.1025, go1.5.1. It compiles just fine. Adding another pair of parenthesis around `s.f` to get `(*(s.f))(event)` does not fix the problem. "},"comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments/173707834","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2278#issuecomment-173707834","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2278","id":173707834,"user":{"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},"created_at":"2016-01-21T21:07:07Z","updated_at":"2016-01-21T21:07:07Z","body":"Thanks for reporting."}}