[Issue 22108] DIP1000 parameter mistakenly interpreted as return scope instead of scope

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 18 23:21:22 UTC 2022


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

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
What's happening is the value of p is being returned, and `return ref` and
`scope` should prevent the value of p being returned.

--


More information about the Digitalmars-d-bugs mailing list