Bug 8744 – pragma(msg) incorrectly prints uint values >= 2^31

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-10-01T12:45:00Z
Last change time
2012-10-06T17:39:21Z
Assigned to
nobody
Creator
pszturmaj

Comments

Comment #0 by pszturmaj — 2012-10-01T12:45:08Z
The statement: pragma(msg, uint.max); prints "-1u" where it should print "4294967295u".
Comment #1 by pszturmaj — 2012-10-01T12:45:28Z
Comment #2 by github-bugzilla — 2012-10-06T17:35:30Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5099922a842cdba59087f9f0568bded582769f7e Issue 8744 - Fixed printing of uint expression when value >= 2^31 https://github.com/D-Programming-Language/dmd/commit/02a5dca8fe5d828a1aedf66e815e7451edac4307 Merge pull request #1156 from pszturmaj/uint-fix Issue 8744 - Fixed printing of uint expression when value >= 2^31