{"action":"created","issue":{"url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/195","repository_url":"https://api.github.com/repos/d-gamedev-team/gfm","labels_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/195/comments","events_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/195/events","html_url":"https://github.com/d-gamedev-team/gfm/issues/195","id":301718304,"number":195,"title":"Ghosts of Vector.min and Vector.max","user":{"login":"denizzzka","id":974632,"avatar_url":"https://avatars2.githubusercontent.com/u/974632?v=4","gravatar_id":"","url":"https://api.github.com/users/denizzzka","html_url":"https://github.com/denizzzka","followers_url":"https://api.github.com/users/denizzzka/followers","following_url":"https://api.github.com/users/denizzzka/following{/other_user}","gists_url":"https://api.github.com/users/denizzzka/gists{/gist_id}","starred_url":"https://api.github.com/users/denizzzka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denizzzka/subscriptions","organizations_url":"https://api.github.com/users/denizzzka/orgs","repos_url":"https://api.github.com/users/denizzzka/repos","events_url":"https://api.github.com/users/denizzzka/events{/privacy}","received_events_url":"https://api.github.com/users/denizzzka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T10:19:58Z","updated_at":"2018-03-02T13:14:36Z","closed_at":null,"author_association":"NONE","body":"```D\r\n    static assert(std.traits.hasMember!(vec2d, \"min\"));\r\n    static assert(std.traits.hasMember!(vec2d, \"max\"));\r\n    static assert(std.traits.hasMember!(vec2d, \"anythingElse\"));\r\n```\r\nwtf?!"},"comment":{"url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/comments/369917640","html_url":"https://github.com/d-gamedev-team/gfm/issues/195#issuecomment-369917640","issue_url":"https://api.github.com/repos/d-gamedev-team/gfm/issues/195","id":369917640,"user":{"login":"p0nce","id":1067485,"avatar_url":"https://avatars2.githubusercontent.com/u/1067485?v=4","gravatar_id":"","url":"https://api.github.com/users/p0nce","html_url":"https://github.com/p0nce","followers_url":"https://api.github.com/users/p0nce/followers","following_url":"https://api.github.com/users/p0nce/following{/other_user}","gists_url":"https://api.github.com/users/p0nce/gists{/gist_id}","starred_url":"https://api.github.com/users/p0nce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0nce/subscriptions","organizations_url":"https://api.github.com/users/p0nce/orgs","repos_url":"https://api.github.com/users/p0nce/repos","events_url":"https://api.github.com/users/p0nce/events{/privacy}","received_events_url":"https://api.github.com/users/p0nce/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T13:14:36Z","updated_at":"2018-03-02T13:14:36Z","author_association":"CONTRIBUTOR","body":"Reproduced.\r\n\r\nIt's because it has `opDispatch`\r\n\r\n```\r\nimport std.traits;\r\n\r\nstruct S\r\n{  \r\n    void opDispatch(string op)()\r\n    {   \r\n    }\r\n}\r\n\r\nstatic assert(std.traits.hasMember!(S, \"whatever\"));\r\n\r\nvoid main()\r\n{    \r\n}\r\n```\r\n\r\nlooks like hasMember does not check constraints of opDispatch.\r\nIs it a problem for you?"}}
{"actor":{"display_login":"p0nce"}}