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

          Issue ID: 21256
           Summary: The toString() in Appender will crash the app
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

Here is the simple test code:

import std.array;
import std.stdio;

void main() {
    Appender!string sb;
    writeln(sb.toString()); // crash here
}

--

Reply via email to