{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7006","repository_url":"https://api.github.com/repos/HaxeFoundation/haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7006/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7006/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7006/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/7006","id":320692477,"number":7006,"title":"Syntax conflict between multiple type parameter constraints and new function syntax","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/12","html_url":"https://github.com/HaxeFoundation/haxe/milestone/12","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/12/labels","id":3272779,"number":12,"title":"Bugs","description":"We probably have to do something, but we might not know how.","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":261,"closed_issues":29,"state":"open","created_at":"2018-04-17T06:03:38Z","updated_at":"2018-05-07T06:49:32Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-05-07T06:49:31Z","updated_at":"2018-05-07T07:39:12Z","closed_at":null,"author_association":"OWNER","body":"This doesn't parse:\r\n\r\n```haxe\r\nclass Main<T:(a:Int, b:String) -> Void> {\r\n\tstatic public function main() {\r\n\r\n\t}\r\n}\r\n```\r\n\r\nThe parser thinks that the `(` is the beginning of a type parameter constraints list. I'm not sure if this is an acceptable limitation because the code clearly looks like it should work, so this could be very confusing for people who don't work on parsers for a living."},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/386984692","html_url":"https://github.com/HaxeFoundation/haxe/issues/7006#issuecomment-386984692","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/7006","id":386984692,"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-07T07:39:12Z","updated_at":"2018-05-07T07:39:12Z","author_association":"OWNER","body":"We could consider introducing `&` at type-hint level for this specific case. That would be very natural because constraints syntax says \"C is A and B\"."}}
{"actor":{"display_login":"Simn"}}