{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7431","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7431/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7431/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7431/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7431","id":139301760,"number":7431,"title":"Error TS17009 (must call super() first in ES6) issued for ES5 target","user":{"login":"markboyall","id":17589164,"avatar_url":"https://avatars.githubusercontent.com/u/17589164?v=3","gravatar_id":"","url":"https://api.github.com/users/markboyall","html_url":"https://github.com/markboyall","followers_url":"https://api.github.com/users/markboyall/followers","following_url":"https://api.github.com/users/markboyall/following{/other_user}","gists_url":"https://api.github.com/users/markboyall/gists{/gist_id}","starred_url":"https://api.github.com/users/markboyall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markboyall/subscriptions","organizations_url":"https://api.github.com/users/markboyall/orgs","repos_url":"https://api.github.com/users/markboyall/repos","events_url":"https://api.github.com/users/markboyall/events{/privacy}","received_events_url":"https://api.github.com/users/markboyall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-08T15:12:20Z","updated_at":"2016-03-09T16:59:27Z","closed_at":null,"body":"The motivation for this breaking change talks about the ES6 spec. However, we are only targetting ES5 as we have a bunch of legacy code which it would be risky to change. Now we're stuck on TS 1.7 because TS 1.8 breaks our code to conform to a spec it's not even targetting.\r\n\r\nThis error should not be issued when the compiler is targetting ES5 or below."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/194396646","html_url":"https://github.com/Microsoft/TypeScript/issues/7431#issuecomment-194396646","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7431","id":194396646,"user":{"login":"markboyall","id":17589164,"avatar_url":"https://avatars.githubusercontent.com/u/17589164?v=3","gravatar_id":"","url":"https://api.github.com/users/markboyall","html_url":"https://github.com/markboyall","followers_url":"https://api.github.com/users/markboyall/followers","following_url":"https://api.github.com/users/markboyall/following{/other_user}","gists_url":"https://api.github.com/users/markboyall/gists{/gist_id}","starred_url":"https://api.github.com/users/markboyall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markboyall/subscriptions","organizations_url":"https://api.github.com/users/markboyall/orgs","repos_url":"https://api.github.com/users/markboyall/repos","events_url":"https://api.github.com/users/markboyall/events{/privacy}","received_events_url":"https://api.github.com/users/markboyall/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T16:59:27Z","updated_at":"2016-03-09T16:59:27Z","body":"I have misspoken. That's simply the annoying case. The breaking case is when the super is written in legacy Javascript where nobody knows what it does, so moving the property accesses to after the super call is risky."}}