{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1367","labels_url":"https://api.github.com/repos/babel/babel/issues/1367/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1367/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1367/events","html_url":"https://github.com/babel/babel/issues/1367","id":71554608,"number":1367,"title":"Better infer the name of constant-like function expressions","user":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":42,"created_at":"2015-04-28T10:53:57Z","updated_at":"2015-05-07T23:33:17Z","closed_at":"2015-04-30T15:41:29Z","body":"See [this gist](https://gist.github.com/ericelliott/08f8a1834d83b0c7a8ed) for details.\r\n\r\nThe un-optimized function body gets moved as-is into a parameter that's passed into a wrapper function so that the function can be wrapped with a named function declaration...\r\n\r\nI wonder if other ES6 things are broken by name wrappers, too?\r\n\r\nExpected:\r\n\r\nTail calls should still be optimized."},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/100046584","html_url":"https://github.com/babel/babel/issues/1367#issuecomment-100046584","issue_url":"https://api.github.com/repos/babel/babel/issues/1367","id":100046584,"user":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T23:33:17Z","updated_at":"2015-05-07T23:33:17Z","body":"Well damn. I'm still quite confident that this will be a source of bugs and frustration for developers who are trying to build apps with it. I'm not the first to notice this issue, and I won't be the last."}}