[Issue 8621] Iteration variable in foreach not closed upon properly in delegate
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Oct 2 02:49:49 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=8621
entheh at cantab.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |---
--- Comment #4 from entheh at cantab.net ---
Not a duplicate.
The present bug talks about corrupt values coming out of thin air. I quote
myself:
"The sort of corrupt values I see for z are for example
28835840 = 0x01B80000
29949952 = 0x01C90000
38535168 = 0x024C0000
36110336 = 0x02270000
But it's always the same between one writeln and the other."
This is not happening at all in the other bug. The other bug is more like the
well-known C# foreach lambda problem, but on steroids.
--
More information about the Digitalmars-d-bugs
mailing list