{"action":"closed","issue":{"url":"https://api.github.com/repos/babel/babel/issues/2413","labels_url":"https://api.github.com/repos/babel/babel/issues/2413/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/2413/comments","events_url":"https://api.github.com/repos/babel/babel/issues/2413/events","html_url":"https://github.com/babel/babel/issues/2413","id":107736611,"number":2413,"title":"`super.foo()` only should work inside a method/arrow function in method","user":{"login":"loganfsmyth","id":132260,"avatar_url":"https://avatars.githubusercontent.com/u/132260?v=3","gravatar_id":"","url":"https://api.github.com/users/loganfsmyth","html_url":"https://github.com/loganfsmyth","followers_url":"https://api.github.com/users/loganfsmyth/followers","following_url":"https://api.github.com/users/loganfsmyth/following{/other_user}","gists_url":"https://api.github.com/users/loganfsmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/loganfsmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganfsmyth/subscriptions","organizations_url":"https://api.github.com/users/loganfsmyth/orgs","repos_url":"https://api.github.com/users/loganfsmyth/repos","events_url":"https://api.github.com/users/loganfsmyth/events{/privacy}","received_events_url":"https://api.github.com/users/loganfsmyth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/babel/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/babel/babel/labels/confirmed","name":"confirmed","color":"207de5"},{"url":"https://api.github.com/repos/babel/babel/labels/spec%20compliancy","name":"spec compliancy","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/babel/babel/milestones/4","html_url":"https://github.com/babel/babel/milestones/6.0.0","labels_url":"https://api.github.com/repos/babel/babel/milestones/4/labels","id":1180789,"number":4,"title":"6.0.0","description":"","creator":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":21,"state":"open","created_at":"2015-06-25T10:20:53Z","updated_at":"2015-10-28T16:34:47Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-09-22T15:15:05Z","updated_at":"2015-10-28T16:34:48Z","closed_at":"2015-10-28T16:34:47Z","body":"```\r\nclass One {\r\n    test() {\r\n        console.log('test');\r\n    }\r\n }\r\n\r\nclass Two extends One {\r\n    test() {\r\n        return new Promise(function(resolve, reject) {\r\n          super.test();\r\n        });\r\n    }\r\n}\r\n\r\nvar two = new Two();\r\ntwo.test();\r\n```\r\n\r\nMy understanding is that `super` should only work in this example for arrow functions, not for standard function expressions.\r\n\r\nCame across this here: http://stackoverflow.com/questions/32710546/calling-super-methods-inside-separate-scope"}}