{"action":"opened","issue":{"url":"https://api.github.com/repos/esperantojs/esperanto/issues/122","labels_url":"https://api.github.com/repos/esperantojs/esperanto/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/esperantojs/esperanto/issues/122/comments","events_url":"https://api.github.com/repos/esperantojs/esperanto/issues/122/events","html_url":"https://github.com/esperantojs/esperanto/issues/122","id":60700910,"number":122,"title":"object literals, with named functions collide with imports","user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T17:56:25Z","updated_at":"2015-03-11T17:56:25Z","closed_at":null,"body":"input:\r\n\r\n```js\r\nimport { foo } from './foo';\r\nvar obj = {\r\n  foo: function foo() {\r\n    return true;\r\n  }\r\n};\r\n\r\nfoo();\r\n```\r\n\r\noutput:\r\n\r\n```js\r\ndefine(['./foo'], function (___foo) {\r\n  'use strict';\r\n​\r\n  var obj = {\r\n    foo: function ___foo.foo() {\r\n      return true;\r\n    }\r\n  };\r\n});\r\n  ___foo.foo();\r\n```\r\n\r\nexpected output:\r\n\r\n```js\r\ndefine(['./foo'], function (___foo) {\r\n​\r\n  'use strict';\r\n​\r\n  var obj = {\r\n    foo: function foo() {\r\n      return true;\r\n    }\r\n  };\r\n​\r\n  ___foo.foo();\r\n});\r\n```"}}