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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 15 15:30:05 UTC 2022


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

--- Comment #4 from Dennis <dkorpel at live.nl> ---
(In reply to Walter Bright from comment #2)
> I think the basic problem here is the code is trying to make scope
> transitive, and it just doesn't work.

No, my array struct works exactly like a dynamic array. It does not try to have
scope pointers as array elements.

--


More information about the Digitalmars-d-bugs mailing list