On Sat, 5 Dec 2009 10:59:12 -0500, "Nick Sabalausky" <a...@a.a> wrote:
>"Max Samukha" <spam...@d-coding.com> wrote in message >news:pkvkh5tvvhie0ga61lrpp5qmt53h5ju...@4ax.com... >> On Sat, 5 Dec 2009 10:19:23 -0500, "Nick Sabalausky" <a...@a.a> wrote: >> >>>"bearophile" <bearophileh...@lycos.com> wrote in message >>>news:hfdt87$1nu...@digitalmars.com... >>>> There's a large number of changes! >>>> I don't understand what "No more comma operators allowed between [ ]." >>>> means. >>>> >>> >>>I assume that means: >>> >>>int[1,2,3] foo; // <- formerly created an int[3], now (presumably) >>>disallowed >>> >> >> Was this feature documented anywhere? > >I don't think it was ever really a feature, it was just a consequence of the >next-to-useless expression "x,y" evaluating to "y" and "int[...] foo;" >taking a single value for "...". > Ah, it is simply the unfortunate comma expression evaluated to 3. Comma expressions need to go. Thanks.