www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11945] New: LockingTextWriter fails with repeat

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11945

           Summary: LockingTextWriter fails with repeat
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: tobias pankrath.net



PST ---



/usr/include/dlang/dmd/std/stdio.d(1546): Error: no property 'ptr' for type
'Take!(Repeat!char)'
test.d(6): Error: template instance
std.stdio.File.LockingTextWriter.put!(Take!(Repeat!char)) error instantiating

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 18 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11945


Peter Alexander <peter.alexander.au gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.alexander.au gmail.co
                   |                            |m



13:09:09 PST ---
I get a different error for that.

Are you sure the error doesn't correspond to this call?





-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 27 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11945




Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/5dbb6539e3bce241ccea886ebef9ad1f4e201020
Fix Issue 11945 - LockingTextWriter.put

The function just had sloppy constraints while assuming it was a string. This
fixes it up and adds some basic unit tests.

https://d.puremagic.com/issues/show_bug.cgi?id=11945

https://github.com/D-Programming-Language/phobos/commit/2b558a95f21cfd6a3b6db7d45916a11a8a828798


Fix Issue 11945 - LockingTextWriter.put

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 15 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11945


Peter Alexander <peter.alexander.au gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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