[Issue 23170] Array literal passed to map in lambda, then returned from nested function, is memory corrupted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 7 17:19:53 UTC 2022


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to FeepingCreature from comment #3)
> It seems like DMD thinks it can stack allocate the array literal?
Yes.

--


More information about the Digitalmars-d-bugs mailing list