maybe i got a bug

bioinfornatics bioinfornatics at gmail.com
Thu Jan 31 14:08:32 PST 2013


On Thursday, 31 January 2013 at 22:02:15 UTC, Ali Çehreli wrote:
> On 01/31/2013 01:42 PM, bioinfornatics wrote:
> > On Thursday, 31 January 2013 at 21:31:08 UTC, Ali Çehreli
> wrote:
> >> On 01/31/2013 08:59 AM, bioinfornatics wrote:
>
> >> > I think when i iterate over a phobos range :
> >> > foreach( state, letter; fastq )
> >> > and if fastq instance is called into this loop as done at
> >> line 181 is
> >> > not the same instance
> >>
> >> Correct.
>
> > is normal or is a bug ?
>
> It is not a bug. Here is a discussion on the topic:
>
>   http://forum.dlang.org/thread/jp16ni$fug$1@digitalmars.com
>
> Ali



that is insane ...
so the way to go will be to yield at each loop all members value


More information about the Digitalmars-d-learn mailing list