[Issue 16519] toHexString always returns stack allocated string

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 27 22:13:47 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=16519

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12 at gmail.com

--- Comment #3 from Seb <greensunny12 at gmail.com> ---
FWIW -dip1000 warns about this problem:

foo.d(8): Deprecation: slice of static array temporary returned by
toHexString(hash) assigned to longer lived variable a

but I still think we should do something about the API.

--


More information about the Digitalmars-d-bugs mailing list