On Nov 17, 2011, at 6:26 AM, Mike Samuel wrote:

> 2011/11/17 David Herman <[email protected]>:
>>    obj with { foo: 12 } with { bar: 13 } with { baz: 17 }
> 
> Does the below fit your syntax and isn't it lexically ambiguous with
> the old "with"?
> 
> obj
> with ({ foo: 12 })
> {}

This was discussed above; there's no ambiguity if the new language doesn't have 
with statements. Quildreen and Dmitry have both objected to the confusion to 
the reader caused by the ambiguity between language versions, though.

Dave

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to