[Issue 8526] DMD 2.060 regression: anonymous delegate call in foreach loop

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 9 04:15:58 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8526



--- Comment #6 from github-bugzilla at puremagic.com 2012-11-09 04:15:57 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/251a8bb0ede5e45bf5f41b60554a2962261516ff
fix Issue 8526 - DMD 2.060 regression: anonymous delegate call in foreach loop

This regression has occured from the commit:
https://github.com/D-Programming-Language/dmd/commit/38a0a5141a3455395e8b9571a57bf85ed698c6b3

But the root cause is a bug in glue layer. When an internal ref variable is
marked as closure var, the glue layer had generated incorrect code for that.

https://github.com/D-Programming-Language/dmd/commit/8fc3e4b59bf5786accee257d301ca8de8cf8a277
Merge pull request #1272 from 9rnsr/fix8526

Issue 8526 & 6141 - DMD 2.060 regression: anonymous delegate call in foreach
loop

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list