{"action":"opened","issue":{"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/3176","repository_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck","labels_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/3176/labels{/name}","comments_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/3176/comments","events_url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/issues/3176/events","html_url":"https://github.com/rubberduck-vba/Rubberduck/issues/3176","id":246381453,"number":3176,"title":"Warn about ambiguous but legal module variable name","user":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars2.githubusercontent.com/u/5751684?v=4","gravatar_id":"","url":"https://api.github.com/users/retailcoder","html_url":"https://github.com/retailcoder","followers_url":"https://api.github.com/users/retailcoder/followers","following_url":"https://api.github.com/users/retailcoder/following{/other_user}","gists_url":"https://api.github.com/users/retailcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/retailcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retailcoder/subscriptions","organizations_url":"https://api.github.com/users/retailcoder/orgs","repos_url":"https://api.github.com/users/retailcoder/repos","events_url":"https://api.github.com/users/retailcoder/events{/privacy}","received_events_url":"https://api.github.com/users/retailcoder/received_events","type":"User","site_admin":false},"labels":[{"id":540647642,"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/difficulty-02-ducky","name":"difficulty-02-ducky","color":"9ECFA4","default":false},{"id":175492135,"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/feature-inspections","name":"feature-inspections","color":"DDDDDD","default":false},{"id":202355751,"url":"https://api.github.com/repos/rubberduck-vba/Rubberduck/labels/up-for-grabs","name":"up-for-grabs","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T15:28:19Z","updated_at":"2017-07-28T15:28:19Z","closed_at":null,"body":"Per the VBA language specifications:\r\n\r\n> A variable defined by a <module-variable-declaration> may have a variable name that is the same as the enum name of a <enum-declaration> defined in the same module but such a variable cannot be referenced using its variable name even if the variable name is module qualified.\r\n\r\nSo we need an inspection that warns about fields that are named the same as an enum name declared in the same module (same as enum *member name* would be ok?)"}}
{"actor":{"display_login":"retailcoder"}}