{"action":"closed","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1220","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1220/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1220/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1220/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1220","id":56176692,"number":1220,"title":"Fields with the same name but different nesting levels in an anonymous struct type are not correctly recognized","user":{"login":"dashaus","id":1870208,"avatar_url":"https://avatars.githubusercontent.com/u/1870208?v=3","gravatar_id":"","url":"https://api.github.com/users/dashaus","html_url":"https://github.com/dashaus","followers_url":"https://api.github.com/users/dashaus/followers","following_url":"https://api.github.com/users/dashaus/following{/other_user}","gists_url":"https://api.github.com/users/dashaus/gists{/gist_id}","starred_url":"https://api.github.com/users/dashaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashaus/subscriptions","organizations_url":"https://api.github.com/users/dashaus/orgs","repos_url":"https://api.github.com/users/dashaus/repos","events_url":"https://api.github.com/users/dashaus/events{/privacy}","received_events_url":"https://api.github.com/users/dashaus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","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","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":48,"closed_issues":33,"state":"open","created_at":"2012-09-02T21:49:33Z","updated_at":"2015-02-01T21:24:10Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-02-01T20:26:48Z","updated_at":"2015-02-01T21:24:10Z","closed_at":"2015-02-01T21:24:10Z","body":"the plugin confuses the fields with the same name but different nesting in a structure.\r\n\r\nFor example:\r\n\r\n```go\r\ntype advSearch struct {\r\n    Genres struct {\r\n        Generals  []string\r\n        Thematics struct {\r\n            Genres  []string\r\n            Missing bool\r\n        }\r\n        Demographics struct {\r\n            Genres  []string\r\n            Missing bool    \r\n        }\r\n    }\r\n}\r\n\r\nfunc search() {\r\n    m := advSearch{}\r\n\r\n    // Genres is not correctly recognized (it is confused by \"Genres\" field in \r\n   // \"Demographics\" struct), so \"Generals\" field is not found by inspector\r\n    _ := m.Genres.Generals\r\n}\r\n```"}}