www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Formating output of retro

reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
Finally getting to debug std.regex issues, I've found that it seems like

import std.stdio, std.range;

void main()
{
	writefln("%s",retro("abcd"));
}

no longer works, can anyone on older version check if it's regression?

-- 
Dmitry Olshansky
Feb 09 2012
parent reply "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Thursday, 9 February 2012 at 18:59:47 UTC, Dmitry Olshansky 
wrote:
 Finally getting to debug std.regex issues, I've found that it 
 seems like

 import std.stdio, std.range;

 void main()
 {
 	writefln("%s",retro("abcd"));
 }

 no longer works, can anyone on older version check if it's 
 regression?
Works in 2.056
Feb 09 2012
parent reply Brad Anderson <eco gnuk.net> writes:
On Thu, Feb 9, 2012 at 12:41 PM, Jesse Phillips
<jessekphillips+D gmail.com>wrote:

 On Thursday, 9 February 2012 at 18:59:47 UTC, Dmitry Olshansky wrote:

 Finally getting to debug std.regex issues, I've found that it seems like

 import std.stdio, std.range;

 void main()
 {
        writefln("%s",retro("abcd"));
 }

 no longer works, can anyone on older version check if it's regression?
Works in 2.056
And in 2.057. It doesn't work in 2.058 beta. Error during compilation: Error: static assert "Cannot put a Result into a LockingTextWriter" Regards, Brad Anderson
Feb 09 2012
parent Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On 09.02.2012 23:50, Brad Anderson wrote:
 On Thu, Feb 9, 2012 at 12:41 PM, Jesse Phillips
 <jessekphillips+D gmail.com <mailto:jessekphillips%2BD gmail.com>> wrote:

     On Thursday, 9 February 2012 at 18:59:47 UTC, Dmitry Olshansky wrote:

         Finally getting to debug std.regex issues, I've found that it
         seems like

         import std.stdio, std.range;

         void main()
         {
                 writefln("%s",retro("abcd"));
         }

         no longer works, can anyone on older version check if it's
         regression?


     Works in 2.056


 And in 2.057.  It doesn't work in 2.058 beta. Error during compilation:

 Error: static assert "Cannot put a Result into a LockingTextWriter"

 Regards,
 Brad Anderson
Filed, I'm not sure if it's phobos or compiler issue. http://d.puremagic.com/issues/show_bug.cgi?id=7476 -- Dmitry Olshansky
Feb 09 2012