{"action":"created","issue":{"url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/43","repository_url":"https://api.github.com/repos/adireddy/haxe-checkstyle","labels_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/43/comments","events_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/43/events","html_url":"https://github.com/adireddy/haxe-checkstyle/issues/43","id":136971800,"number":43,"title":"BlockFormat: invalid field access with extra parens around cast","user":{"login":"Gama11","id":2620907,"avatar_url":"https://avatars.githubusercontent.com/u/2620907?v=3","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":"closed","locked":false,"assignee":{"login":"AlexHaxe","id":7204032,"avatar_url":"https://avatars.githubusercontent.com/u/7204032?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexHaxe","html_url":"https://github.com/AlexHaxe","followers_url":"https://api.github.com/users/AlexHaxe/followers","following_url":"https://api.github.com/users/AlexHaxe/following{/other_user}","gists_url":"https://api.github.com/users/AlexHaxe/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexHaxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexHaxe/subscriptions","organizations_url":"https://api.github.com/users/AlexHaxe/orgs","repos_url":"https://api.github.com/users/AlexHaxe/repos","events_url":"https://api.github.com/users/AlexHaxe/events{/privacy}","received_events_url":"https://api.github.com/users/AlexHaxe/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-02-27T21:41:02Z","updated_at":"2016-02-27T22:41:14Z","closed_at":"2016-02-27T22:33:18Z","body":"```haxe\r\nclass Test\r\n{\r\n\tfunction test()\r\n\t{\r\n\t\tcast (Type.createInstance(Array, []));\r\n\t}\r\n}\r\n```\r\n\r\n```\r\n./source/Test.hx:1:1: error: Check BlockFormat failed: Invalid field access : index\r\nStacktrace: \r\nCalled from ExprUtils.hx line 138\r\nCalled from ExprUtils.hx line 198\r\nCalled from ExprUtils.hx line 163\r\nCalled from ExprUtils.hx line 190\r\nCalled from ExprUtils.hx line 173\r\nCalled from ExprUtils.hx line 109\r\nCalled from ExprUtils.hx line 130\r\nCalled from ExprUtils.hx line 51\r\nCalled from ExprUtils.hx line 20\r\nCalled from ExprUtils.hx line 14\r\nCalled from checks/BlockFormatCheck.hx line 31\r\nCalled from checks/Check.hx line 22\r\nCalled from Checker.hx line 155\r\nBuild succeeded\r\n```\r\n\r\nNo issues with `cast Type.createInstance(Array, []);`.\r\n\r\nCheckstyle version: 191bf0c245"},"comment":{"url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/comments/189741906","html_url":"https://github.com/adireddy/haxe-checkstyle/issues/43#issuecomment-189741906","issue_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/43","id":189741906,"user":{"login":"Gama11","id":2620907,"avatar_url":"https://avatars.githubusercontent.com/u/2620907?v=3","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},"created_at":"2016-02-27T22:41:14Z","updated_at":"2016-02-27T22:41:14Z","body":"Wow, that was fast! :+1: "}}