[Issue 22916] [dip1000] copy of ref return still treated as scope variable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 29 03:03:24 UTC 2022


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

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
I should have looked at the cheat sheet, which has:

    ref X foo(ref return scope P p)
        ReturnRef-Scope

which concurs with what you wrote.

--


More information about the Digitalmars-d-bugs mailing list