Conflicts using export *

Kevin Smith zenparsing at gmail.com
Fri Jun 14 06:00:07 PDT 2013


>     // M.js
>     export * from "foo";
>     export * from "bar";
>
>     // foo.js
>     export * from "foobar";
>
>     // bar.js
>     export * from "foobar";
>
>     // foobar.js
>     export var x = 1;
>
> I just want to make sure that using M.x in any of these cases is an
> error likewise.
>
>
Is there a particular reason?  I feel indifferent so far, and it wouldn't
be difficult to put an additional check on the binding target during
linking.

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130614/c277ee90/attachment.html>


More information about the es-discuss mailing list