[Issue 259] Comparing signed to unsigned does not generate an error

2009-02-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=259 --- Comment #3 from clugd...@yahoo.com.au 2009-02-23 02:28 --- Note that it's critical than any fix for this bug should not make code like the following fail to compile: uint a = 5; if (a > 2) { ... } Otherwise the cure would be wors

[Issue 259] Comparing signed to unsigned does not generate an error

2009-02-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=259 --- Comment #4 from ddparn...@bigpond.com 2009-02-23 02:34 --- Even more critical, any fix for this bug should not make code like the following fail to compile: uint a = 5; if (a > -2) { ... } --

[Issue 259] Comparing signed to unsigned does not generate an error

2009-02-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=259 --- Comment #5 from 2kor...@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 no

[Issue 259] Comparing signed to unsigned does not generate an error

2009-02-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=259 --- Comment #6 from jarrett.billings...@gmail.com 2009-02-23 07:53 --- (In reply to comment #5) > > uint a = 5; > > if (a > -2) { ... } > > > > Why not? This is obviously a bug! Agreed. I can't tell you how many times I've done som