{"action":"created","issue":{"url":"https://api.github.com/repos/google/closure-compiler/issues/1159","labels_url":"https://api.github.com/repos/google/closure-compiler/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/google/closure-compiler/issues/1159/comments","events_url":"https://api.github.com/repos/google/closure-compiler/issues/1159/events","html_url":"https://github.com/google/closure-compiler/issues/1159","id":107595445,"number":1159,"title":"static check: ES6 constructors whose class extends another class must call super","user":{"login":"ChadKillingsworth","id":1247639,"avatar_url":"https://avatars.githubusercontent.com/u/1247639?v=3","gravatar_id":"","url":"https://api.github.com/users/ChadKillingsworth","html_url":"https://github.com/ChadKillingsworth","followers_url":"https://api.github.com/users/ChadKillingsworth/followers","following_url":"https://api.github.com/users/ChadKillingsworth/following{/other_user}","gists_url":"https://api.github.com/users/ChadKillingsworth/gists{/gist_id}","starred_url":"https://api.github.com/users/ChadKillingsworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChadKillingsworth/subscriptions","organizations_url":"https://api.github.com/users/ChadKillingsworth/orgs","repos_url":"https://api.github.com/users/ChadKillingsworth/repos","events_url":"https://api.github.com/users/ChadKillingsworth/events{/privacy}","received_events_url":"https://api.github.com/users/ChadKillingsworth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/closure-compiler/labels/ES6","name":"ES6","color":"eb6420"},{"url":"https://api.github.com/repos/google/closure-compiler/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-21T20:48:40Z","updated_at":"2015-11-24T22:06:06Z","closed_at":null,"body":"We should enforce (at an error level) when an es6 class extends a parent and defines a constructor, but fails to call super.\r\n\r\nSee http://stackoverflow.com/a/31079103/1211524\r\n\r\n```JavaScript\r\nclass foo extends bar {\r\n  constructor() {\r\n    // no call to super() - this is an error\r\n    this.foobar = 'foobar';\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/google/closure-compiler/issues/comments/159420015","html_url":"https://github.com/google/closure-compiler/issues/1159#issuecomment-159420015","issue_url":"https://api.github.com/repos/google/closure-compiler/issues/1159","id":159420015,"user":{"login":"ChadKillingsworth","id":1247639,"avatar_url":"https://avatars.githubusercontent.com/u/1247639?v=3","gravatar_id":"","url":"https://api.github.com/users/ChadKillingsworth","html_url":"https://github.com/ChadKillingsworth","followers_url":"https://api.github.com/users/ChadKillingsworth/followers","following_url":"https://api.github.com/users/ChadKillingsworth/following{/other_user}","gists_url":"https://api.github.com/users/ChadKillingsworth/gists{/gist_id}","starred_url":"https://api.github.com/users/ChadKillingsworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChadKillingsworth/subscriptions","organizations_url":"https://api.github.com/users/ChadKillingsworth/orgs","repos_url":"https://api.github.com/users/ChadKillingsworth/repos","events_url":"https://api.github.com/users/ChadKillingsworth/events{/privacy}","received_events_url":"https://api.github.com/users/ChadKillingsworth/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T22:06:06Z","updated_at":"2015-11-24T22:06:06Z","body":"I have implementations where super is definitely not the first call."}}