[Issue 10898] New: LcokingTextWriter segfault in .init state

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 26 04:02:22 PDT 2013


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

           Summary: LcokingTextWriter segfault in .init state
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: dmitry.olsh at gmail.com


--- Comment #0 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-08-26 04:02:21 PDT ---
Test case

import std.stdio;


unittest
{
    static auto useInit(T)(T ltw)
    {
        T val;
        val = ltw;
        return val;
    }
    useInit(stdout.lockingTextWriter());
}

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


More information about the Digitalmars-d-bugs mailing list