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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 22 03:05:17 PST 2013


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2013-02-22 03:05:12 PST ---
(In reply to comment #0)

> But, it would need to keep "cast(...)" output for some cases
> 
>   pragma(msg, (arr[int.min]).stringof);  // arr[cast(uint)-2147483648]

I'd even like D to statically refuse indexing an array with a -2147483648 index
:-)

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