{"action":"created","issue":{"url":"https://api.github.com/repos/6to5/6to5/issues/421","labels_url":"https://api.github.com/repos/6to5/6to5/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/6to5/6to5/issues/421/comments","events_url":"https://api.github.com/repos/6to5/6to5/issues/421/events","html_url":"https://github.com/6to5/6to5/issues/421","id":53755604,"number":421,"title":"import * with coreAliasing enabled treats namespace object as default export","user":{"login":"AluisioASG","id":1904165,"avatar_url":"https://avatars.githubusercontent.com/u/1904165?v=3","gravatar_id":"","url":"https://api.github.com/users/AluisioASG","html_url":"https://github.com/AluisioASG","followers_url":"https://api.github.com/users/AluisioASG/followers","following_url":"https://api.github.com/users/AluisioASG/following{/other_user}","gists_url":"https://api.github.com/users/AluisioASG/gists{/gist_id}","starred_url":"https://api.github.com/users/AluisioASG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AluisioASG/subscriptions","organizations_url":"https://api.github.com/users/AluisioASG/orgs","repos_url":"https://api.github.com/users/AluisioASG/repos","events_url":"https://api.github.com/users/AluisioASG/events{/privacy}","received_events_url":"https://api.github.com/users/AluisioASG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-08T14:26:07Z","updated_at":"2015-01-08T19:10:28Z","closed_at":null,"body":"As said in the title; see the test case below for an example.  It seems that happens because the `obj.constructor === Object` check in `_interopRequireWildcard` is transformed into `obj.constructor === _core.Object`, however:\r\n```js\r\n> _core.Object\r\n{}\r\n> Object\r\n[Function: Object]\r\n> _core.Object === Object\r\nfalse\r\n```\r\n\r\nTest case, with ES5-generated code omitted for brevity:\r\n```js\r\n// export.es6\r\nexport default function a() {}\r\nexport function b() {}\r\n\r\n// import.es6\r\nimport {inspect} from 'util'\r\nimport * as exp from './export'\r\n\r\nconsole.log(inspect(exp))\r\n```\r\n```sh\r\n$ node import-without-core-aliasing.js\r\n{ default: [Function: a], b: [Function: b] }\r\n\r\n$ node import-with-core-aliasing.js\r\n{ default: { default: [Function: a], b: [Function: b] } }\r\n```\r\n\r\nI'm using 6to5 2.8.2 and core-js 0.4.1, with the `commonStrict` module formatter."},"comment":{"url":"https://api.github.com/repos/6to5/6to5/issues/comments/69231385","html_url":"https://github.com/6to5/6to5/issues/421#issuecomment-69231385","issue_url":"https://api.github.com/repos/6to5/6to5/issues/421","id":69231385,"user":{"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},"created_at":"2015-01-08T19:10:28Z","updated_at":"2015-01-08T19:10:28Z","body":"@monsanto Nope, it was to also support stuff like `Symbol()` although I completely negleted to consider this scenario happening. I'll have to add in a special case for `Symbol` and only make the direct access in `new`."}}