Rick Waldron (2013-07-11T00:13:17.000Z)
On Wed, Jul 10, 2013 at 7:40 PM, Sam Tobin-Hochstadt <samth at ccs.neu.edu>wrote:

> On Wed, Jul 10, 2013 at 7:24 PM, Rick Waldron <waldron.rick at gmail.com>
> wrote:
> >
> > It gets created nowhere,
>
> This is right.
>
> > because the body of a module is implicitly strict,
>
> And this is right.
>
> > so the above code produces a Reference Error.
>
> But this is incorrect, because modules check that their bodies don't
> have free variables, so the above code has a _static_ error.
>

Thanks for the correction, I based my response on Appendix C of ES5.1,
which of course doesn't know anything about module bodies ;)

Rick


>
> Sam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130710/8d0d8da7/attachment.html>
domenic at domenicdenicola.com (2013-07-13T01:08:09.939Z)
Thanks for the correction, I based my response on Appendix C of ES5.1,
which of course doesn't know anything about module bodies ;)