[Issue 7942] Appending different string types corrupts memory

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 29 10:12:31 PDT 2014


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

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Assignee|nobody at puremagic.com        |yebblies at gmail.com

--- Comment #3 from yebblies <yebblies at gmail.com> ---
I'm not so sure about this being accepts-invalid.  D allows implicit string
decoding/encoding in the single-char case, and it seems reasonable to support
it here.

These patches change it from a wrong-code to a mere performance issue.

https://github.com/D-Programming-Language/dmd/pull/3831
https://github.com/D-Programming-Language/druntime/pull/915

--


More information about the Digitalmars-d-bugs mailing list