[Issue 259] Comparing signed to unsigned does not generate an error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 23 05:40:14 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=259
------- Comment #5 from 2korden at gmail.com 2009-02-23 07:40 -------
(In reply to comment #4)
> Even more critical, any fix for this bug should not make code like the
> following fail to compile:
>
> uint a = 5;
> if (a > -2) { ... }
>
Why not? This is obviously a bug!
--
More information about the Digitalmars-d-bugs
mailing list