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
next sibling 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 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

http://d.puremagic.com/issues/show_bug.cgi?id=7476 -- Dmitry Olshansky
Feb 09 2012
prev sibling parent Brad Anderson <eco gnuk.net> writes:
--bcaec552397246df8d04b88d52b4
Content-Type: text/plain; charset=ISO-8859-1

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 --bcaec552397246df8d04b88d52b4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Feb 9, 2012 at 12:41 PM, Jesse Phillips <span dir=3D"ltr">&lt;<a hr= ef=3D"mailto:jessekphillips%2BD gmail.com">jessekphillips+D gmail.com</a>&g= t;</span> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_q= uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e= x"> <div class=3D"HOEnZb"><div class=3D"h5">On Thursday, 9 February 2012 at 18:= 59:47 UTC, Dmitry Olshansky wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Finally getting to debug std.regex issues, I&#39;ve found that it seems lik= e<br> <br> import std.stdio, std.range;<br> <br> void main()<br> {<br> =A0 =A0 =A0 =A0writefln(&quot;%s&quot;,retro(&quot;abcd&quot;));<br> }<br> <br> no longer works, can anyone on older version check if it&#39;s regression?<= br> </blockquote> <br></div></div> Works in 2.056<br> </blockquote></div><br><div>And in 2.057. =A0It doesn&#39;t work in 2.058 b= eta. Error during compilation:</div><div><br></div><div>Error: static asser= t =A0&quot;Cannot put a Result into a LockingTextWriter&quot;</div><div><br=

--bcaec552397246df8d04b88d52b4--
Feb 09 2012