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. --