[Issue 20551] In @safe code and using delegates, it's possible to escape references to function frame

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 1 14:14:15 UTC 2020


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

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
This is actually quite a new issue as this could not work before 2.090.
I believe that https://github.com/dlang/dmd/pull/10509 lacked of review.

To the attention of nick at geany.org, just add a check to disable the new feature
in @safe and this should be good ;)

--


More information about the Digitalmars-d-bugs mailing list