http://d.puremagic.com/issues/show_bug.cgi?id=8832
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
/63bba9d02ad4ff783c10c543c2c9ea4e91248873
fix Issue 8832 - Segfault when accessing range returned by function that has
delegate referencing local variables
https://github.com/D-Programming-Language/dmd/commit/fe7583317aefdc63e5dc233a627296c5df5594e3
Merge pull request #1575 from WalterBright/b43
fix Issue 8832 - Segfault when accessing
http://d.puremagic.com/issues/show_bug.cgi?id=8832
--- Comment #6 from Walter Bright 2013-01-28
21:09:49 PST ---
https://github.com/D-Programming-Language/dmd/pull/1575
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because:
http://d.puremagic.com/issues/show_bug.cgi?id=8832
--- Comment #5 from Walter Bright 2013-01-28
19:34:47 PST ---
Interestingly, Don's fix:
https://github.com/D-Programming-Language/dmd/pull/1554
fixes my clearer test case, but not the original.
--
Configure issuemail: http://d.puremagic.co
http://d.puremagic.com/issues/show_bug.cgi?id=8832
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=8832
Maxim Fomin changed:
What|Removed |Added
CC||ma...@maxim-fomin.ru
--- Comment #3 from
http://d.puremagic.com/issues/show_bug.cgi?id=8832
--- Comment #2 from hst...@quickfur.ath.cx 2012-10-18 08:44:25 PDT ---
I think I may have figured out the cause of this bug. If boo() is modified as
follows:
auto boo() {
auto C = [2];
auto d = delegate(int) => C;
return [1,1].map!d
http://d.puremagic.com/issues/show_bug.cgi?id=8832
--- Comment #1 from hst...@quickfur.ath.cx 2012-10-16 21:50:50 PDT ---
See also issue 7978, probably the same bug in a different context.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving t