Killing the comma operator

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 10 10:11:59 PDT 2016


On 6/10/16 1:02 PM, Mathias Lang wrote:
> On Thursday, 12 May 2016 at 10:29:36 UTC, Andrei Alexandrescu wrote:
>> Before we get lost in the discussions, let's act on this by
>> disallowing taking the result of the comma operator. Yes there is
>> potential breakage (via typeof as Timon noted) but it's likely to be
>> minimal. Once we have that in place we have more options. Thx! -- Andrei
>
> Just a quick update on that topic: using the return of a comma operator
> now yield a deprecation message (using DMD ~master). This will be part
> of 2.072.0.
> Thanks everyone for your feedback !

That's terrific. Thank you!! -- Andrei


More information about the Digitalmars-d mailing list