Re: funny bug with input range interface and toString

2010-12-13 Thread Nick Voronin
On Mon, 13 Dec 2010 21:43:33 +0300, spir wrote: I use rdmd for quick testing (because it links automagically). compile: dmd -w -c filename.d build: rdmd -w -offilename" -debug -unittest --build-only filename.d Thanks. I missed -of option. -- Using Opera's revolutionary email client: http://w

Re: funny bug with input range interface and toString

2010-12-13 Thread spir
On Mon, 13 Dec 2010 17:37:19 +0300 "Nick Voronin" wrote: > On Mon, 13 Dec 2010 11:24:48 +0300, spir wrote: > > > I have a strange bug with an input range interface. Initially, I had a > > (rather big) struct called Text with loads of working unittests. When > > adding a range interface, not

Re: funny bug with input range interface and toString

2010-12-13 Thread Nick Voronin
On Mon, 13 Dec 2010 11:24:48 +0300, spir wrote: I have a strange bug with an input range interface. Initially, I had a (rather big) struct called Text with loads of working unittests. When adding a range interface, noting worked anymore, any test ran into an infinite loop (the terminal wri

funny bug with input range interface and toString

2010-12-13 Thread spir
Hello, I have a strange bug with an input range interface. Initially, I had a (rather big) struct called Text with loads of working unittests. When adding a range interface, noting worked anymore, any test ran into an infinite loop (the terminal writes pages of '[') ending with segfault. After