Conflicts using export *

Kevin Smith zenparsing at gmail.com
Thu Jun 13 12:37:32 PDT 2013


Take the following situation:

    // M.js
    export * from "foo";
    export * from "bar";

    // "foo"
    export var x = 1;

    // "bar"
    export var x = 2;

What is M.x bound to?  foo.x (1), bar.x (2), or is this an error?  What is
our current thinking?

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


More information about the es-discuss mailing list