The `import crazy, {more as boo} from 'name'` needs to go away.

https://bugs.ecmascript.org/show_bug.cgi?id=2287

It is also bad because the order there is fixed and you cannot interleave.


On Thu, Dec 5, 2013 at 11:25 AM, Kevin Smith <[email protected]> wrote:

>
>> Although the import side has this one extra syntactic special case for
>> defaults:
>>
>>   import x, {y as z, ...} from "..."
>>
>> That seems really redundant. I assume mixing default import with
>> others will be an extremely rare case, and when really needed, can
>> easily be expressed as either
>>
>>   import {default as x, y as z, ...} from "..."
>>
>> or
>>
>>   import x from "..."
>>   import {y as z, ...} from "..."
>>
>
> I didn't even realize that was allowed, and I agree with you completely.
>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
erik
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to