Is this a bug?
bauss (wtf happend to my name took some old cached title LOL??) via Digitalmars-d
digitalmars-d at puremagic.com
Sat Dec 10 00:30:53 PST 2016
On Saturday, 10 December 2016 at 08:25:49 UTC, Timon Gehr wrote:
> On 10.12.2016 09:09, Is it possible to store different generic
>
> This is intended (but surprising, and IMHO bad) behaviour, as D
> follows C integral promotion rules. (C# does not.) Mixed
> signed/unsigned operations first convert both arguments to
> unsigned.
Yeah, it was a pain to figure out what was wrong. Been spending
more time than I wanted tracking this down.
More information about the Digitalmars-d
mailing list