Allen Wirfs-Brock (2013-07-11T00:02:21.000Z)
domenic at domenicdenicola.com (2013-07-13T01:08:24.729Z)
On Jul 10, 2013, at 4:40 PM, Sam Tobin-Hochstadt wrote: > But this is incorrect, because modules check that their bodies don't > have free variables, so the above code has a _static_ error. Ah, do you mean this is a link time check? It isn't a regular early error situations because gvar could be a dynamically added property on the global object. Not sure what your current semantics are, but I thought it was established a long time ago that modules needed free references in order to deal with global object properties.