The Comma Operator's Deprecation Can't Come Soon Enough

Meta via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 15 01:24:06 PDT 2014


On Tuesday, 15 July 2014 at 08:20:34 UTC, Martin Krejcirik wrote:
> On Tuesday, 15 July 2014 at 08:01:40 UTC, Meta wrote:
>> I'll give you a hint: the bug causes flattenedType!R to always 
>> returned uint.
>
> What is unexpected about that ?

It makes the behaviour of the template that's unexpected. 
flattenedType!(float[][][][]) returning uint is unexpected. But 
that's not the problem. The problem is a hard (IMO) to spot bug 
caused by the comma operator.


More information about the Digitalmars-d mailing list