[Issue 2043] Closure outer variables in nested blocks are not allocated/instantiated correctly: should have multiple instances but only have one.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 5 20:37:46 UTC 2018


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

--- Comment #34 from timon.gehr at gmx.ch ---
(In reply to timon.gehr from comment #33)
> ...
> In D, if the compiler can prove that closures don't escape, alloca might be
> an option.

(Or simply malloc/free, of course.)

--


More information about the Digitalmars-d-bugs mailing list