Re: writeln(Range) fails on 2.058

2012-02-17 Thread simendsjo
On Wed, 15 Feb 2012 11:10:45 +0100, simendsjo simend...@gmail.com wrote: On 02/15/2012 09:33 AM, simendsjo wrote: import std.array; import std.stdio; struct S { string txt; void popFront() { txt.popFront(); } @property dchar front() { return txt.front; } @property bool empty() { return

Re: writeln(Range) fails on 2.058

2012-02-17 Thread simendsjo
On Fri, 17 Feb 2012 12:51:11 +0100, simendsjo simend...@gmail.com wrote: On Wed, 15 Feb 2012 11:10:45 +0100, simendsjo simend...@gmail.com wrote: On 02/15/2012 09:33 AM, simendsjo wrote: import std.array; import std.stdio; struct S { string txt; void popFront() { txt.popFront(); }

Re: writeln(Range) fails on 2.058

2012-02-17 Thread Timon Gehr
On 02/17/2012 12:58 PM, simendsjo wrote: On Fri, 17 Feb 2012 12:51:11 +0100, simendsjo simend...@gmail.com wrote: On Wed, 15 Feb 2012 11:10:45 +0100, simendsjo simend...@gmail.com wrote: On 02/15/2012 09:33 AM, simendsjo wrote: import std.array; import std.stdio; struct S { string txt;

Re: writeln(Range) fails on 2.058

2012-02-17 Thread simendsjo
On Fri, 17 Feb 2012 14:44:15 +0100, Timon Gehr timon.g...@gmx.ch wrote: On 02/17/2012 12:58 PM, simendsjo wrote: On Fri, 17 Feb 2012 12:51:11 +0100, simendsjo simend...@gmail.com wrote: On Wed, 15 Feb 2012 11:10:45 +0100, simendsjo simend...@gmail.com wrote: On 02/15/2012 09:33 AM,

writeln(Range) fails on 2.058

2012-02-15 Thread simendsjo
import std.array; import std.stdio; struct S { string txt; void popFront() { txt.popFront(); } @property dchar front() { return txt.front; } @property bool empty() { return txt.empty; } } void main() { S s; writeln(s);

Re: writeln(Range) fails on 2.058

2012-02-15 Thread simendsjo
On 02/15/2012 09:33 AM, simendsjo wrote: import std.array; import std.stdio; struct S { string txt; void popFront() { txt.popFront(); } @property dchar front() { return txt.front; } @property bool empty() { return txt.empty; } } void main() { S s; writeln(s); // range.d(295): Error: static