Erik Arvidsson (2015-01-30T00:20:15.000Z)
It used to be the case that `export default` was just syntactic sugar for
exporting something with the name "default".

export default 42;

was the same as

const x = 42;
export {x as default};

More importantly this symmetry was very useful on the import side as well
as when reexporting default exports.

export {default} from './m.js'

The above line now requires a local binding.

import tmp from './m.js';
export default tmp;

I don't know why this was changed or if this was discussed anywhere?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150130/a439d7e2/attachment.html>
d at domenic.me (2015-02-13T23:31:43.772Z)
It used to be the case that `export default` was just syntactic sugar for
exporting something with the name "default".

```js
export default 42;
```

was the same as

```js
const x = 42;
export {x as default};
```

More importantly this symmetry was very useful on the import side as well
as when reexporting default exports.

```js
export {default} from './m.js'
```

The above line now requires a local binding.

```js
import tmp from './m.js';
export default tmp;
```

I don't know why this was changed or if this was discussed anywhere?