| Thread overview | ||||||
|---|---|---|---|---|---|---|
|
February 09, 2012 Formating output of retro | ||||
|---|---|---|---|---|
| ||||
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
| ||||
February 09, 2012 Re: Formating output of retro | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | 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
| |||
February 09, 2012 Re: Formating output of retro | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips Attachments:
| 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 | |||
February 09, 2012 Re: Formating output of retro | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson | 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 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply