[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
Mon Feb 3 02:51:43 UTC 2020


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

--- Comment #4 from RazvanN <razvan.nitu1305 at gmail.com> ---
Yes, I agree, taking the address of a lazy variable should be disallowed in
@safe code.

--


More information about the Digitalmars-d-bugs mailing list