ModuleImport
C. Scott Ananian
ecmascript at cscott.net
Tue Jun 24 07:36:02 PDT 2014
On Tue, Jun 24, 2014 at 10:05 AM, Kevin Smith <zenparsing at gmail.com> wrote:
>
>> Lots of things are breaking API changes. Changing the name of one of the
>> named exports, for instance. Critically, in Ron's proposal, you *can*
>> change a default export to named exports later (or vice versa) *without
>> changing the users of the module*.
>>
>
> Maybe, but certainly not without completely redoing the semantics. Do you
> think that's possible, at this point?
>
I don't agree that the changes to the semantics are large, if we're talking
about simply allowing a single syntactic form for both named and default
import and Ron's option (A) (where default and named exports can not
co-exist... until ES7 at least).
--scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140624/aaa8066f/attachment-0001.html>
More information about the es-discuss
mailing list