Conflicts using export *

Sam Tobin-Hochstadt samth at ccs.neu.edu
Thu Jun 13 12:42:24 PDT 2013


This is a static error.

On Thu, Jun 13, 2013 at 3:37 PM, Kevin Smith <zenparsing at gmail.com> wrote:
> 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 }
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>


More information about the es-discuss mailing list