Mixing operations with signed and unsigned types

bearophile bearophileHUGS at lycos.com
Tue Jun 29 16:42:45 PDT 2010

Stewart Gordon:
> http://d.puremagic.com/issues/show_bug.cgi?id=259

I have added my vote there a lot of time ago. I think Andrei says that fixing this is unworkable, but I don't know why. If you make this an error and at the same time turn array indexes/lengths into signed values, you don't have that many unsigned values in normal D programs, so you need very few casts and it becomes workable.


More information about the Digitalmars-d-learn mailing list