{"action":"created","issue":{"url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/181","repository_url":"https://api.github.com/repos/adireddy/haxe-checkstyle","labels_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/181/comments","events_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/181/events","html_url":"https://github.com/adireddy/haxe-checkstyle/issues/181","id":141072435,"number":181,"title":"Parsing fails on multiple typedef extensions","user":{"login":"underscorediscovery","id":236374,"avatar_url":"https://avatars.githubusercontent.com/u/236374?v=3","gravatar_id":"","url":"https://api.github.com/users/underscorediscovery","html_url":"https://github.com/underscorediscovery","followers_url":"https://api.github.com/users/underscorediscovery/followers","following_url":"https://api.github.com/users/underscorediscovery/following{/other_user}","gists_url":"https://api.github.com/users/underscorediscovery/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorediscovery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorediscovery/subscriptions","organizations_url":"https://api.github.com/users/underscorediscovery/orgs","repos_url":"https://api.github.com/users/underscorediscovery/repos","events_url":"https://api.github.com/users/underscorediscovery/events{/privacy}","received_events_url":"https://api.github.com/users/underscorediscovery/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adireddy/haxe-checkstyle/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-15T19:15:35Z","updated_at":"2016-03-16T00:29:30Z","closed_at":null,"body":"\r\nI have a number of typedefs that have multiple \"parent\" types that it extends from,\r\n\r\n```haxe\r\ntypedef TypedefName = {\r\n\r\n    > OneTypedef,\r\n    > OtherTypedef,\r\n\r\n}\r\n```\r\n\r\n- the second trailing `,` is required for haxe compiler in previous versions (I think 3.1.x, not sure)\r\n- the multiple extensions [were in 3.1.0](http://haxe.org/manual/type-system-extensions.html)\r\n\r\n```\r\nCLASS: some/package/TypedefName.hx\r\n\tError: LINE - 1: Checker - Parsing failed: Unexpected >\r\nStacktrace: \r\nCalled from haxeparser/HaxeParser.hx line 650\r\nCalled from haxeparser/HaxeParser.hx line 743\r\nCalled from haxeparser/HaxeParser.hx line 743\r\nCalled from haxeparser/HaxeParser.hx line 730\r\nCalled from haxeparser/HaxeParser.hx line 542\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 510\r\nCalled from haxeparser/HaxeParser.hx line 501\r\nCalled from haxeparser/HaxeParser.hx line 265\r\nCalled from checkstyle/Checker.hx line 119\r\nCalled from checkstyle/Checker.hx line 170\r\n```"},"comment":{"url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/comments/197083627","html_url":"https://github.com/adireddy/haxe-checkstyle/issues/181#issuecomment-197083627","issue_url":"https://api.github.com/repos/adireddy/haxe-checkstyle/issues/181","id":197083627,"user":{"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},"created_at":"2016-03-16T00:29:30Z","updated_at":"2016-03-16T00:29:30Z","body":"The second problem seems to be related to #44, some files of actuate lib have a BOM:\r\n\r\n```\r\n./tests/test/TestSuite.hx:                C++ source, ASCII text\r\n./tests/test/ExampleTest.hx:              C++ source, ASCII text\r\n./tests/test/UpdateTest.hx:               C++ source, ASCII text, with CRLF line terminators\r\n./tests/test/TweenTest.hx:                C++ source, ASCII text, with CRLF line terminators\r\n./tests/test/TestMain.hx:                 C++ source, ASCII text\r\n./documentation/ImportAll.hx:             ASCII text, with CRLF line terminators\r\n./motion/MotionPath.hx:                   Perl5 module source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/easing/Quint.hx:                 C++ source, ASCII text, with CRLF line terminators\r\n./motion/easing/Sine.hx:                  C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/easing/Bounce.hx:                C++ source, ASCII text, with CRLF line terminators\r\n./motion/easing/Quart.hx:                 C++ source, ASCII text, with CRLF line terminators\r\n./motion/easing/Expo.hx:                  C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/easing/Linear.hx:                C++ source, ASCII text, with CRLF line terminators\r\n./motion/easing/IEasing.hx:               ASCII text, with CRLF line terminators\r\n./motion/easing/Quad.hx:                  C++ source, ASCII text, with CRLF line terminators\r\n./motion/easing/Back.hx:                  C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/easing/Elastic.hx:               C++ source, ASCII text, with CRLF line terminators\r\n./motion/easing/Cubic.hx:                 C++ source, ASCII text, with CRLF line terminators\r\n./motion/Actuate.hx:                      Perl5 module source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/actuators/PropertyDetails.hx:    C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/actuators/IGenericActuator.hx:   ASCII text, with CRLF line terminators\r\n./motion/actuators/MethodActuator.hx:     C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/actuators/MotionPathActuator.hx: C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/actuators/GenericActuator.hx:    C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/actuators/SimpleActuator.hx:     C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/actuators/FilterActuator.hx:     C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n./motion/actuators/TransformActuator.hx:  C++ source, UTF-8 Unicode (with BOM) text, with CRLF line terminators\r\n```"}}