[Issue 19812] Lambda over struct member causes dangling reference to out-of-scope struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 14 07:31:18 UTC 2022


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

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
The fix appears to be in the `return` inference for auto functions. It should
look for returning an instance of a nested class.

--


More information about the Digitalmars-d-bugs mailing list