[Issue 20809] return statement might access memory from destructed temporary

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 18 12:00:09 UTC 2021


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

--- Comment #11 from Dennis <dkorpel at live.nl> ---
(In reply to moonlightsentinel from comment #10)
> That usage won't be affected by fixing this bug? 

You're right, I was looking into an accepts-invalid dip1000 issue and this
looked like a duplicate, but since it's returning by value here it's actually
different.

--


More information about the Digitalmars-d-bugs mailing list