[Issue 21291] Array literal that escapes scope is allocated on stack

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 23 19:41:14 UTC 2021


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

Dechcaudron <dechcaudron+issues.dlang at pm.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dechcaudron+issues.dlang at pm
                   |                            |.me

--- Comment #2 from Dechcaudron <dechcaudron+issues.dlang at pm.me> ---
This has also happened to me, no idea it could be due to -dip1000. So removing
the compiler switch enables one to work around the issue (other than code not
being suitable for @nogc)?

--


More information about the Digitalmars-d-bugs mailing list