A bug: repeated fields are also disallowed if the object initializer has
a type annotation.

In summary, only object initializers that look like ES3 initializers are
allowed to have repeated fields (for backward compatibility).

--lars

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen
> Sent: 20. mars 2008 16:43
> To: [email protected]
> Subject: ES4 draft: Object initializers
> 
> I've attempted to sum up everything we have decided about 
> object initializers (aka object literals).  A short draft 
> spec is included.
> Comments welcome from everyone, especially from ES4 WG 
> members who might remember about things I've forgotten, or 
> correct misunderstandings.
> 
> --lars
> 
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to