{"action":"opened","issue":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/387","labels_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/387/comments","events_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/387/events","html_url":"https://github.com/retailcoder/Rubberduck/issues/387","id":69177113,"number":387,"title":"\"Implicit variant\" inspection should account for DefTypes","user":{"login":"retailcoder","id":5751684,"avatar_url":"https://avatars.githubusercontent.com/u/5751684?v=3","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":[{"url":"https://api.github.com/repos/retailcoder/Rubberduck/labels/code-inspections","name":"code-inspections","color":"DDDDDd"},{"url":"https://api.github.com/repos/retailcoder/Rubberduck/labels/enhancement","name":"enhancement","color":"FEFEFE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-17T17:04:08Z","updated_at":"2015-04-17T17:04:08Z","closed_at":null,"body":"https://msdn.microsoft.com/en-us/library/aa263421(v=vs.60).aspx\r\n\r\n> Used at module level to set the default data type for variables, arguments passed to procedures, and the return type for `Function` and `Property Get` procedures whose names start with the specified characters.\r\n\r\n`DefType` statements are seldom encountered in VBA code, but they exist, and if they're there, they turn \"Function X returns an implicit variant\" inspection result into a false positive: they should be accounted for in inspections `ImplicitVariantReturnTypeInspection` and `VariableTypeNotDeclaredInspection` (the latter of which already accounts for obsolete type hints)."}}