[Issue 11782] format pointer to range prints range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 19 14:01:17 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11782


Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com


--- Comment #1 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-12-19 14:01:16 PST ---
(In reply to comment #0)

> This is not documented behavior. The documented behavior is simply:
> "Pointers are formatted as hex integers."

The fun is that a pointer to a range is a range. It naturally supports all of
primitives.


> I think this behavior is wrong, and should be removed to simply treat the
> pointer as a pointer.

Maybe.

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


More information about the Digitalmars-d-bugs mailing list