{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8341","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8341/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8341/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8341/events","html_url":"https://github.com/Microsoft/TypeScript/pull/8341","id":151494717,"number":8341,"title":"[Transforms] Remove the assertion as the assumption is not correct","user":{"login":"yuit","id":489742,"avatar_url":"https://avatars.githubusercontent.com/u/489742?v=3","gravatar_id":"","url":"https://api.github.com/users/yuit","html_url":"https://github.com/yuit","followers_url":"https://api.github.com/users/yuit/followers","following_url":"https://api.github.com/users/yuit/following{/other_user}","gists_url":"https://api.github.com/users/yuit/gists{/gist_id}","starred_url":"https://api.github.com/users/yuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuit/subscriptions","organizations_url":"https://api.github.com/users/yuit/orgs","repos_url":"https://api.github.com/users/yuit/repos","events_url":"https://api.github.com/users/yuit/events{/privacy}","received_events_url":"https://api.github.com/users/yuit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/cla-not-required","name":"cla-not-required","color":"009800"},{"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":2,"created_at":"2016-04-27T21:24:31Z","updated_at":"2016-04-28T04:34:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/8341","html_url":"https://github.com/Microsoft/TypeScript/pull/8341","diff_url":"https://github.com/Microsoft/TypeScript/pull/8341.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/8341.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/215307889","html_url":"https://github.com/Microsoft/TypeScript/pull/8341#issuecomment-215307889","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/8341","id":215307889,"user":{"login":"yuit","id":489742,"avatar_url":"https://avatars.githubusercontent.com/u/489742?v=3","gravatar_id":"","url":"https://api.github.com/users/yuit","html_url":"https://github.com/yuit","followers_url":"https://api.github.com/users/yuit/followers","following_url":"https://api.github.com/users/yuit/following{/other_user}","gists_url":"https://api.github.com/users/yuit/gists{/gist_id}","starred_url":"https://api.github.com/users/yuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuit/subscriptions","organizations_url":"https://api.github.com/users/yuit/orgs","repos_url":"https://api.github.com/users/yuit/repos","events_url":"https://api.github.com/users/yuit/events{/privacy}","received_events_url":"https://api.github.com/users/yuit/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T04:34:46Z","updated_at":"2016-04-28T04:34:46Z","body":"@DanielRosenwasser  my understanding and from the case that assertion happens is that when we \"visitExpressionStatement\" we are visiting expression statement generated from transforming decorated constructor's parameter. So although `classDecl` will not have decorator on but has non-default export (i.e `statements` length is greater than one), the assertion will fail. Interestingly, all our tests before I add this one, don't catch this assertion."}}