stdout.lockingTextWriter().put(repeat("#", 12));
/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
Comment #1 by peter.alexander.au — 2014-01-27T13:09:09Z
I get a different error for that.
Are you sure the error doesn't correspond to this call?
stdout.lockingTextWriter().put(repeat('#', 12));
(Note '#' vs "#")
Comment #2 by github-bugzilla — 2014-02-15T04:47:57Z