On Sun, Oct 12, 2008 at 5:45 PM, David-Sarah Hopwood
<[EMAIL PROTECTED]> wrote:
> Since LabelledStatement is included in SubStatement, the following is
> allowed in the current ES3.1 draft:
>
> while (...) foo: var x = ...;
This will be corrected in the next version. But the agreed fix is not
to make LabelledStatement a Statement. The fix is to make a
LabelledStatement contain only a SubStatement. So the above will still
be rejected, but
while (...) foo: {var x = ...;}
will be fine.
--
Cheers,
--MarkM
_______________________________________________
Es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss