On Wed, Aug 13, 2014 at 07:37:09PM +0000, Gary Willoughby via Digitalmars-d-learn wrote: > On Wednesday, 13 August 2014 at 18:58:59 UTC, H. S. Teoh via > Digitalmars-d-learn wrote: > >On Wed, Aug 13, 2014 at 06:31:32PM +0000, Gary Willoughby via > >Digitalmars-d-learn wrote: [...] > >>I've used your advice and implemented a range over the list as > >>suggested, the problem being i cannot get it to pass the > >>isForwardRange check. > >> > >>Code: http://dpaste.dzfl.pl/cad89406bbcc#line-220 > >> > >>You'll notice the assert on line 220 fails. Any idea what i'm doing > >>wrong? > > > >You need to put @property on .save. > > > > > >T > > Gah! Thanks, i need sleep. :)
No worries, the only reason I could pinpoint this almost immediately was because I got bitten by exactly the same problem before, and it took me *hours* to figure out what was wrong. :-/ T -- Never ascribe to malice that which is adequately explained by incompetence. -- Napoleon Bonaparte
