[Issue 21929] delegates capture do not respect scoping

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 26 06:05:24 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=21929

--- Comment #11 from Walter Bright <bugzilla at digitalmars.com> ---
Even allocating a closure on the gc heap is not a solution here, because only
one allocation will be made which will be shared by each lambda, exhibiting the
same behavior.

--


More information about the Digitalmars-d-bugs mailing list