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





--- Comment #2 from Don <clugd...@yahoo.com.au>  2009-05-14 04:40:57 PDT ---
(In reply to comment #1)
> Maybe the current functionality exists because pointers are normally output in
> uppercase.
>     writefln("%#x", cast(uint*)0xabcd); // -> 0xABCD
>     writefln("%#X", cast(uint*)0xabcd); // -> 0XABCD
> 
> %x as lowercase and %X as uppercase makes more sense.

I think it happened because uppercase is a sensible default for pointers (eg,
if printed with %s). BUT, %x should override that default. It's a simple bug.

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

Reply via email to