[Issue 10898] LockingTextWriter segfaults in .init state

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 30 07:12:28 PDT 2013


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


monarchdodra at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |monarchdodra at gmail.com
         Resolution|                            |FIXED


--- Comment #3 from monarchdodra at gmail.com 2013-08-30 07:12:27 PDT ---
Also fixes postblit from T.init.

unittest
{
    static auto useInit(T)(T ltw)
    {
        T val = T.init;
        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