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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 15 00:36:47 PDT 2013


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



--- Comment #6 from github-bugzilla at puremagic.com 2013-09-15 00:36:45 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d1ab5012b00c34023ed715a0c22ecb3bd8b674ff
fix Issue 9565 - Index of static array should not print literal suffix

Static array type index is always size_t, so unnecessary suffix is harmful for
platform independent diagnostic message.
(Note that: In 64bit platform, size_t is ulong, and if the value is greater
than long.max, suffix is *necessary*.)

Same problem exists in IndexExp and SliceExp printing.

https://github.com/D-Programming-Language/dmd/commit/724566600724314a27dbf7bfd63aeda12f27780d
Merge pull request #2522 from 9rnsr/fix9565

Issue 9565 - Index of static array should not print literal suffix

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