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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 11 19:25:00 PDT 2013


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



--- Comment #47 from Lionello Lunesu <lio+bugzilla at lunesu.com> 2013-04-11 19:24:53 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1889

There are many things silently(!) breaking, though, as some templates are not
being chosen because of internal comparison errors.

For example, FormatSpec.width and FormatSpec.precision are ints but often
compared against array lengths (for padding and such). TBH, using negative
width and precision to mean "argument index" is a hack and we'd be better off
changing them to uint and use a flag for the "argument index" case.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list