On Jan 3, 2012, at 12:01 PM, Brendan Eich wrote:

> On Jan 3, 2012, at 1:29 AM, Andreas Rossberg wrote:
> 
>> ...
> 
> 
>> For multi-part scripts we need a way to switch the
>> _proper_ top-level into extended mode. Or should I not be able to
>> write (the relevant bits of) a multi-part script in extended mode at
>> all?
> 
> The proposal may have been unclear on this point: the top level would allow 
> as much new syntax and semantics as can be tolerated backwards-compatibly. 
> The hard cases are let, lexical scope in the free-variables-are-errors sense 
> Dave described (extant globals at start of module body are imported), and any 
> runtime shifts we want (completion reform, typeof null).

I suspect there will also be issue related to legacy function declarations 
within blocks.

Allen


_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to