{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/8326","repository_url":"https://api.github.com/repos/HaxeFoundation/haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/8326/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/8326/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/8326/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/8326","id":447389180,"node_id":"MDU6SXNzdWU0NDczODkxODA=","number":8326,"title":"Strange Haxe type inference completion behavior","user":{"login":"fullofcaffeine","id":81248,"node_id":"MDQ6VXNlcjgxMjQ4","avatar_url":"https://avatars2.githubusercontent.com/u/81248?v=4","gravatar_id":"","url":"https://api.github.com/users/fullofcaffeine","html_url":"https://github.com/fullofcaffeine","followers_url":"https://api.github.com/users/fullofcaffeine/followers","following_url":"https://api.github.com/users/fullofcaffeine/following{/other_user}","gists_url":"https://api.github.com/users/fullofcaffeine/gists{/gist_id}","starred_url":"https://api.github.com/users/fullofcaffeine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullofcaffeine/subscriptions","organizations_url":"https://api.github.com/users/fullofcaffeine/orgs","repos_url":"https://api.github.com/users/fullofcaffeine/repos","events_url":"https://api.github.com/users/fullofcaffeine/events{/privacy}","received_events_url":"https://api.github.com/users/fullofcaffeine/received_events","type":"User","site_admin":false},"labels":[{"id":54849919,"node_id":"MDU6TGFiZWw1NDg0OTkxOQ==","url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/feature-ide","name":"feature-ide","color":"acddf9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-22T23:46:33Z","updated_at":"2019-05-23T06:42:15Z","closed_at":null,"author_association":"NONE","body":"From what I've researched so far, this seems to be a Haxe/completion server issue. Please correct me if I'm wrong.\r\n\r\nIt all started when I converted an Express app from TS to Haxe. I noticed that for the I was not getting the proper type info when I hovered or called `$type()` for the middleware `use` function callbacks params. \r\n\r\nI then started a somewhat long discussion that was summarized [here](https://community.haxe.org/t/type-inference-completion-hint-woes/1754). TL;DR follows.\r\n\r\n## TL;DR:\r\n\r\nI've created a small project that can be used to reproduce the issue [here](https://github.com/fullofcaffeine/haxe-inference-vshaxe-confusion-). **Check the comments here for specific instructions on how to reproduce it:** https://github.com/fullofcaffeine/haxe-inference-vshaxe-confusion-/blob/master/Main.hx#L9.\r\n\r\nThe completion UX for these scenarios is terrible. Is that expected / how it's supposed to work? Is there something we can do to improve it? Or is this a bug?"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/495088435","html_url":"https://github.com/HaxeFoundation/haxe/issues/8326#issuecomment-495088435","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/8326","id":495088435,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NTA4ODQzNQ==","user":{"login":"Simn","id":634365,"node_id":"MDQ6VXNlcjYzNDM2NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/634365?v=4","gravatar_id":"","url":"https://api.github.com/users/Simn","html_url":"https://github.com/Simn","followers_url":"https://api.github.com/users/Simn/followers","following_url":"https://api.github.com/users/Simn/following{/other_user}","gists_url":"https://api.github.com/users/Simn/gists{/gist_id}","starred_url":"https://api.github.com/users/Simn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simn/subscriptions","organizations_url":"https://api.github.com/users/Simn/orgs","repos_url":"https://api.github.com/users/Simn/repos","events_url":"https://api.github.com/users/Simn/events{/privacy}","received_events_url":"https://api.github.com/users/Simn/received_events","type":"User","site_admin":false},"created_at":"2019-05-23T06:42:15Z","updated_at":"2019-05-23T06:42:15Z","author_association":"MEMBER","body":"This is probably a fanfiction-variant of #7753."}}
{"actor":{"display_login":"Simn"}}