{"comment":{"url":"https://api.github.com/repos/GeoffreyBooth/coffeescript/comments/18700514","html_url":"https://github.com/GeoffreyBooth/coffeescript/commit/3eb45330abbe32a7c6dca1dcb3403cfc328ea8eb#commitcomment-18700514","id":18700514,"user":{"login":"GeoffreyBooth","id":456802,"avatar_url":"https://avatars.githubusercontent.com/u/456802?v=3","gravatar_id":"","url":"https://api.github.com/users/GeoffreyBooth","html_url":"https://github.com/GeoffreyBooth","followers_url":"https://api.github.com/users/GeoffreyBooth/followers","following_url":"https://api.github.com/users/GeoffreyBooth/following{/other_user}","gists_url":"https://api.github.com/users/GeoffreyBooth/gists{/gist_id}","starred_url":"https://api.github.com/users/GeoffreyBooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeoffreyBooth/subscriptions","organizations_url":"https://api.github.com/users/GeoffreyBooth/orgs","repos_url":"https://api.github.com/users/GeoffreyBooth/repos","events_url":"https://api.github.com/users/GeoffreyBooth/events{/privacy}","received_events_url":"https://api.github.com/users/GeoffreyBooth/received_events","type":"User","site_admin":false},"position":4,"line":1246,"path":"src/nodes.coffee","commit_id":"3eb45330abbe32a7c6dca1dcb3403cfc328ea8eb","created_at":"2016-08-19T07:27:13Z","updated_at":"2016-08-19T07:27:13Z","body":"This test fails with `o.scope.parent`:\r\n\r\n```coffee\r\nif foo\r\n  import { bar } from 'lib'\r\n```\r\n\r\nFor whatever reason, there is no scope parent in this case. And [`import` statements cannot be in `if` blocks](https://babeljs.io/repl/#?evaluate=true&lineWrap=true&presets=es2015%2Cstage-3&code=if%20(foo)%20%7B%0A%20%20import%20%7B%20bar%20%7D%20from%20'lib'%3B%0A%7D)."}}
{"actor":{"display_login":"GeoffreyBooth"}}