{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7857","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7857/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7857/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7857/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7857","id":146381331,"number":7857,"title":"[Transforms] Missing parentheses for comma expression in call expression","user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Domain:%20Transforms","name":"Domain: Transforms","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-06T17:29:32Z","updated_at":"2016-04-06T17:29:32Z","closed_at":null,"body":"**Expected**:\r\n\r\n```js\r\nfoo((_a = (function () {\r\n        function class_2() {\r\n        }\r\n        return class_2;\r\n    }()),\r\n    _a.prop = \"hello\",\r\n    _a)).length;\r\n```\r\n\r\n**Actual**:\r\n\r\n```js\r\nfoo(_a = (function () {\r\n        function class_2_1() {\r\n        }\r\n        return class_2_1;\r\n    }()),\r\n    _a.prop = \"hello\",\r\n    _a).length;\r\n```\r\n\r\nFailed tests:\r\n* tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression1.ts \r\n* tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression2.ts \r\n\r\n\r\n"}}