{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3781","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3781/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3781/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3781/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/3781","id":54867367,"number":3781,"title":"type param constrains + enum type params + abstract casts","user":{"login":"nadako","id":49749,"avatar_url":"https://avatars.githubusercontent.com/u/49749?v=3","gravatar_id":"","url":"https://api.github.com/users/nadako","html_url":"https://github.com/nadako","followers_url":"https://api.github.com/users/nadako/followers","following_url":"https://api.github.com/users/nadako/following{/other_user}","gists_url":"https://api.github.com/users/nadako/gists{/gist_id}","starred_url":"https://api.github.com/users/nadako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadako/subscriptions","organizations_url":"https://api.github.com/users/nadako/orgs","repos_url":"https://api.github.com/users/nadako/repos","events_url":"https://api.github.com/users/nadako/events{/privacy}","received_events_url":"https://api.github.com/users/nadako/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Simn","id":634365,"avatar_url":"https://avatars.githubusercontent.com/u/634365?v=3","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/5","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/5/labels","id":586975,"number":5,"title":"3.3","description":"","creator":{"login":"ncannasse","id":1022912,"avatar_url":"https://avatars.githubusercontent.com/u/1022912?v=3","gravatar_id":"","url":"https://api.github.com/users/ncannasse","html_url":"https://github.com/ncannasse","followers_url":"https://api.github.com/users/ncannasse/followers","following_url":"https://api.github.com/users/ncannasse/following{/other_user}","gists_url":"https://api.github.com/users/ncannasse/gists{/gist_id}","starred_url":"https://api.github.com/users/ncannasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncannasse/subscriptions","organizations_url":"https://api.github.com/users/ncannasse/orgs","repos_url":"https://api.github.com/users/ncannasse/repos","events_url":"https://api.github.com/users/ncannasse/events{/privacy}","received_events_url":"https://api.github.com/users/ncannasse/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":10,"state":"open","created_at":"2014-03-04T14:22:27Z","updated_at":"2015-01-20T10:54:21Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-01-20T10:37:22Z","updated_at":"2015-01-20T10:54:38Z","closed_at":null,"body":"```haxe\r\nenum E {\r\n    E1<T:String>(v:T);\r\n}\r\n\r\nabstract Ab(String) to String {}\r\n\r\nclass Main<T:Ab> {\r\n    static function main() {\r\n    }\r\n\r\n    function doStuff(v:T) {\r\n        E1(v);\r\n    }\r\n}\r\n```\r\n\r\n```\r\nFatal error: exception Type.Unify_error(_)\r\nRaised at file \"typer.ml\", line 193, characters 12-27\r\nCalled from file \"list.ml\", line 73, characters 12-15\r\nCalled from file \"typecore.ml\", line 365, characters 3-6\r\nCalled from file \"main.ml\", line 1481, characters 2-21\r\nCalled from file \"main.ml\", line 637, characters 3-11\r\nCalled from file \"main.ml\", line 1700, characters 1-35\r\n```"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/70636546","html_url":"https://github.com/HaxeFoundation/haxe/issues/3781#issuecomment-70636546","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/3781","id":70636546,"user":{"login":"Simn","id":634365,"avatar_url":"https://avatars.githubusercontent.com/u/634365?v=3","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":"2015-01-20T10:54:38Z","updated_at":"2015-01-20T10:54:38Z","body":"Also feel free to add a test for the exception."}}