Conflicts using export *

Kevin Smith zenparsing at gmail.com
Thu Jun 13 12:48:52 PDT 2013


What about the following case?

    // M
    export * from "foo";
    export var x = 1;

    // foo
    export var x = 2;

Would M.x be bound to the local variable, or would this be an error as well?

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


More information about the es-discuss mailing list