[Issue 9565] Index of static array should not print literal suffix

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 22 11:16:17 PST 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-22 11:16:16 PST ---
(In reply to comment #0)
> Index type of static array is always size_t, so suffix is not only just
> redundant, but also is harmful for platform independent diagnostic message.

I think the reason it's there is to make the actual literal valid, because
AFAIK you actually need to append "LU" for some big literals. But maybe we
could remove the suffixes for small literals.

-- 
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