{"action":"opened","issue":{"url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/293","labels_url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/293/comments","events_url":"https://api.github.com/repos/TiVo/intellij-haxe/issues/293/events","html_url":"https://github.com/TiVo/intellij-haxe/issues/293","id":85103676,"number":293,"title":"Nested function types (functions typetags that have other functions as arguments or return type)","user":{"login":"soywiz","id":570848,"avatar_url":"https://avatars.githubusercontent.com/u/570848?v=3","gravatar_id":"","url":"https://api.github.com/users/soywiz","html_url":"https://github.com/soywiz","followers_url":"https://api.github.com/users/soywiz/followers","following_url":"https://api.github.com/users/soywiz/following{/other_user}","gists_url":"https://api.github.com/users/soywiz/gists{/gist_id}","starred_url":"https://api.github.com/users/soywiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soywiz/subscriptions","organizations_url":"https://api.github.com/users/soywiz/orgs","repos_url":"https://api.github.com/users/soywiz/repos","events_url":"https://api.github.com/users/soywiz/events{/privacy}","received_events_url":"https://api.github.com/users/soywiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-04T13:39:21Z","updated_at":"2015-06-04T13:39:21Z","closed_at":null,"body":"As far as I know this is valid (but not supported/parsed fine in intelliJ haxe plugin):\r\n\r\n```\r\nInt -> (Int -> Int) -> Int\r\n```\r\n\r\nHaxeFunctionType.getTypeOrAnonymousList() returns List<HaxeTypeOrAnonymous>\r\n\r\nProbably should be a common type and HaxeFunctionType return a list of common types so the parenthesis syntax for functions with arguments that are functions works fine."}}