{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/3786","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/3786/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/3786/comments","events_url":"https://api.github.com/repos/babel/babel/issues/3786/events","html_url":"https://github.com/babel/babel/issues/3786","id":175597248,"number":3786,"title":"`export default async` makes it impossible to reference fn by name in fiile (T7295)","user":{"login":"babel-bot","id":21250019,"avatar_url":"https://avatars.githubusercontent.com/u/21250019?v=3","gravatar_id":"","url":"https://api.github.com/users/babel-bot","html_url":"https://github.com/babel-bot","followers_url":"https://api.github.com/users/babel-bot/followers","following_url":"https://api.github.com/users/babel-bot/following{/other_user}","gists_url":"https://api.github.com/users/babel-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/babel-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel-bot/subscriptions","organizations_url":"https://api.github.com/users/babel-bot/orgs","repos_url":"https://api.github.com/users/babel-bot/repos","events_url":"https://api.github.com/users/babel-bot/events{/privacy}","received_events_url":"https://api.github.com/users/babel-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-04-16T18:30:39Z","updated_at":"2016-12-13T15:51:30Z","closed_at":null,"body":"> Issue originally made by @dasilvacontin\n### Bug information\n- **Babel version:** 6.7.4\n### Options\n\n```\nChrome 49.0.2623.112 (64-bit)\n```\n### Input code\n\n``` js\nexport default async function top () {}\n```\n### Description\n\nAs you can see [[ http://babeljs.io/repl/#?evaluate=true&presets=es2015%2Creact%2Cstage-2&experimental=false&loose=false&spec=false&code=export%20default%20async%20function%20top%20()%20%7B%7D | here ]] in babeljs.io's 'Try it out', the function cannot be referenced by its name inside the file, due to how it gets declared.\n"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/266775193","html_url":"https://github.com/babel/babel/issues/3786#issuecomment-266775193","issue_url":"https://api.github.com/repos/babel/babel/issues/3786","id":266775193,"user":{"login":"daltones","id":5603632,"avatar_url":"https://avatars.githubusercontent.com/u/5603632?v=3","gravatar_id":"","url":"https://api.github.com/users/daltones","html_url":"https://github.com/daltones","followers_url":"https://api.github.com/users/daltones/followers","following_url":"https://api.github.com/users/daltones/following{/other_user}","gists_url":"https://api.github.com/users/daltones/gists{/gist_id}","starred_url":"https://api.github.com/users/daltones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daltones/subscriptions","organizations_url":"https://api.github.com/users/daltones/orgs","repos_url":"https://api.github.com/users/daltones/repos","events_url":"https://api.github.com/users/daltones/events{/privacy}","received_events_url":"https://api.github.com/users/daltones/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T15:51:30Z","updated_at":"2016-12-13T15:51:30Z","body":"Investigating more, it seems like what is causing this issue is a bug in Babylon.\r\n\r\nI described that in https://github.com/babel/babylon/issues/257"}}
{"actor":{"display_login":"daltones"}}