Well the argument being that as it stands it's inconsistent having the
identifier on the RHS for import from and LHS in import as:

import baz from "foo";
import "foo" as foo;

I'm just throwing out simple options for solving that inconsistency.

Possibly even thinking about them as declarations makes the simplest sense
anyway:

var foo = import "foo";
var { baz } = import "foo";


On Thu, Dec 6, 2012 at 8:49 AM, Andreas Rossberg <rossb...@google.com>wrote:

> On 6 December 2012 17:46, Matthew Robb <matthewwr...@gmail.com> wrote:
> > What about trying it the other way, flip everything.
> >
> > import "foo" as bar;
> > import "foo" as { baz }
>
> Hm, I don't understand. What would that solve?
>
> /Andreas
>



-- 
- Matthew Robb
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to