{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7057","repository_url":"https://api.github.com/repos/HaxeFoundation/haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7057/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7057/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7057/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/7057","id":324897528,"number":7057,"title":"[display] \"new |\" completion should only include Constructible type params","user":{"login":"Gama11","id":2620907,"avatar_url":"https://avatars0.githubusercontent.com/u/2620907?v=4","gravatar_id":"","url":"https://api.github.com/users/Gama11","html_url":"https://github.com/Gama11","followers_url":"https://api.github.com/users/Gama11/followers","following_url":"https://api.github.com/users/Gama11/following{/other_user}","gists_url":"https://api.github.com/users/Gama11/gists{/gist_id}","starred_url":"https://api.github.com/users/Gama11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gama11/subscriptions","organizations_url":"https://api.github.com/users/Gama11/orgs","repos_url":"https://api.github.com/users/Gama11/repos","events_url":"https://api.github.com/users/Gama11/events{/privacy}","received_events_url":"https://api.github.com/users/Gama11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Simn","id":634365,"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},"assignees":[{"login":"Simn","id":634365,"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}],"milestone":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/10","html_url":"https://github.com/HaxeFoundation/haxe/milestone/10","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/10/labels","id":1594842,"number":10,"title":"Release 4.0","description":"","creator":{"login":"Simn","id":634365,"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},"open_issues":69,"closed_issues":189,"state":"open","created_at":"2016-02-20T16:03:51Z","updated_at":"2018-05-22T13:40:38Z","due_on":"2019-05-01T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-05-21T12:25:51Z","updated_at":"2018-05-22T13:41:15Z","closed_at":null,"author_association":"MEMBER","body":"```haxe\r\npackage cases;\r\n\r\nclass Issue7057 extends DisplayTestCase {\r\n\t/**\r\n\timport haxe.Constraints.Constructible;\r\n\t\r\n\tclass Main {\r\n\t\t@:generic static function main<T, TConstructible:Constructible<Void->Void>>() {\r\n\t\t\tnew {-1-}\r\n\t\t}\r\n\t}\r\n\t**/\r\n\tfunction test() {\r\n\t\teq(false, hasToplevel(toplevel(pos(1)), \"type\", \"T\"));\r\n\t\teq(true, hasToplevel(toplevel(pos(1)), \"type\", \"TConstructible\"));\r\n\t}\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/390994238","html_url":"https://github.com/HaxeFoundation/haxe/issues/7057#issuecomment-390994238","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7057","id":390994238,"user":{"login":"Simn","id":634365,"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":"2018-05-22T13:41:15Z","updated_at":"2018-05-22T13:41:15Z","author_association":"MEMBER","body":"This will be fixed when we add a new completion item kind for type parameters."}}
{"actor":{"display_login":"Simn"}}