Re: Global lexical tier

2015-09-01 Thread Geoffrey Garen
> The possible semantics of global lexical declarations was extensively > explored by TC39 before we make the final design decisions for ES6. The > scoping of global lexical declarations is something we spent many hours > discussing over a span of several years, including: To be fair, some

Re: Global lexical tier

2015-09-01 Thread Allen Wirfs-Brock
On Sep 1, 2015, at 11:04 AM, Geoffrey Garen wrote: >> The possible semantics of global lexical declarations was extensively >> explored by TC39 before we make the final design decisions for ES6. The >> scoping of global lexical declarations is something we spent many hours >> discussing

Re: Global lexical tier

2015-09-01 Thread Jason Orendorff
On Tue, Sep 1, 2015 at 12:03 AM, Allen Wirfs-Brock wrote: > Both the alternative suggest by Jason and the one suggest by Saam were > considered and rejected in these discussions. It's easy to imagine a > different semantics. It's harder to demonstrate that it is a "better > semantics" and to get

Re: Global lexical tier

2015-09-01 Thread Jason Orendorff
On Aug 31, 2015, at 7:11 PM, Brendan Eich wrote: > > We are in rapid-release hell/heaven. > > This means errata can be issued, and engines can implement the better > resolution for those errata, compared to what the last major-version _de > jure_ spec mandated. Yes. Obviously the bar is very,

Re: Global lexical tier

2015-09-01 Thread SaamBarati1
Hi Allen, What were the requirements for the global lexical scope? Is it written somewhere I can read? I came up empty after a quick search of esdiscuss.org. I think the whole point of ES6 lexical scoping is to limit scope to something you can read in a given file (or script, or block, or

Re: Global lexical tier

2015-09-01 Thread Rick Waldron
On Tue, Sep 1, 2015 at 10:41 PM SaamBarati1 wrote: > Hi Allen, > > What were the requirements for the global lexical scope? Is it written > somewhere I can read? I came up empty after a quick search of > esdiscuss.org. > > I think the whole point of ES6 lexical scoping is

Re: Global lexical tier

2015-09-01 Thread saam barati
Thanks. Reading now. I'm clearly bad at email :/ On Tue, Sep 1, 2015 at 7:51 PM, Rick Waldron wrote: > > > On Tue, Sep 1, 2015 at 10:41 PM SaamBarati1 wrote: > >> Hi Allen, >> >> What were the requirements for the global lexical scope? Is it