[Issue 22781] assert escapes reference to expired stack frame

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 16 19:27:23 UTC 2022


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

Ate Eskola <Ajieskola at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ajieskola at gmail.com

--- Comment #1 from Ate Eskola <Ajieskola at gmail.com> ---
Fortunately prevented by -preview=dip1000 though.

Is the plan to fix these static array issues in all D or just with
-preview=dip1000? It's going to break an awful lot of code if we forbid slicing
static arrays in vanilla D, but otherwise it's never going to be safe.

--


More information about the Digitalmars-d-bugs mailing list