Parity error in CreateMutableBinding(N, D) in Object Environment Record

Brendan Eich brendan at
Tue Jun 15 22:20:33 PDT 2010

On Jun 15, 2010, at 9:05 PM, Mark S. Miller wrote:

> +1. I find it acceptable to just change this argument to true. The only objection might be that the resulting thrown error might be surprising to non-strict code, since all similar errors in non-strict code are silent. But I am happy not to raise that objection, since I don't particularly care about that surprise.

It's really unlikely anyway.

> I doubt any future spec will introduce any new cases for using Object Environment Records.

Agreed -- if we could salt the earth so nothing more grew there, we would. ES5 strict banning "with" + lexical scope all the way up in simple modules, if not in any <script type="harmony"> (placeholder type there ;-) are a good start.


More information about the es-discuss mailing list