{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/86","repository_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/86/comments","events_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/86/events","html_url":"https://github.com/HaxeFoundation/intellij-haxe/issues/86","id":52560061,"number":86,"title":"Imports incorrectly assessed as \"unused\" when referenced via type name or as a variable type.","user":{"login":"soywiz","id":570848,"avatar_url":"https://avatars2.githubusercontent.com/u/570848?v=4","gravatar_id":"","url":"https://api.github.com/users/soywiz","html_url":"https://github.com/soywiz","followers_url":"https://api.github.com/users/soywiz/followers","following_url":"https://api.github.com/users/soywiz/following{/other_user}","gists_url":"https://api.github.com/users/soywiz/gists{/gist_id}","starred_url":"https://api.github.com/users/soywiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soywiz/subscriptions","organizations_url":"https://api.github.com/users/soywiz/orgs","repos_url":"https://api.github.com/users/soywiz/repos","events_url":"https://api.github.com/users/soywiz/events{/privacy}","received_events_url":"https://api.github.com/users/soywiz/received_events","type":"User","site_admin":false},"labels":[{"id":78934482,"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/labels/bug","name":"bug","color":"fc2929","default":true},{"id":202524972,"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/labels/Priority%202","name":"Priority 2","color":"ff5e00","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2014-12-20T10:37:35Z","updated_at":"2017-09-26T18:34:37Z","closed_at":"2017-09-26T18:34:36Z","author_association":"NONE","body":"It seems that imports are detected just when calling new Class, but not when referenced as :Class or calling static methods.\n\n``` haxe\nnew Class(); // <-- referenced\nClass.staticMethod(); // <-- not referenced\nfunction method(ref:Class) {} // <-- not referenced\n```\n\nTIR: STB-7310\n"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/comments/332293559","html_url":"https://github.com/HaxeFoundation/intellij-haxe/issues/86#issuecomment-332293559","issue_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/86","id":332293559,"user":{"login":"EricBishton","id":12093217,"avatar_url":"https://avatars2.githubusercontent.com/u/12093217?v=4","gravatar_id":"","url":"https://api.github.com/users/EricBishton","html_url":"https://github.com/EricBishton","followers_url":"https://api.github.com/users/EricBishton/followers","following_url":"https://api.github.com/users/EricBishton/following{/other_user}","gists_url":"https://api.github.com/users/EricBishton/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBishton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBishton/subscriptions","organizations_url":"https://api.github.com/users/EricBishton/orgs","repos_url":"https://api.github.com/users/EricBishton/repos","events_url":"https://api.github.com/users/EricBishton/events{/privacy}","received_events_url":"https://api.github.com/users/EricBishton/received_events","type":"User","site_admin":false},"created_at":"2017-09-26T18:34:36Z","updated_at":"2017-09-26T18:34:36Z","author_association":"NONE","body":"Also not reproducible any more.  Fixed somewhere along the way..."}}
{"actor":{"display_login":"EricBishton"}}