[Issue 22977] [dip1000] can escape scope pointer returned by nested function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 28 04:37:59 UTC 2022


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

--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
It appears that the problem is the nested function is not inferring `return
scope` when returning a scope variable from its closure.

--


More information about the Digitalmars-d-bugs mailing list