[Issue 21286] [DIP1000] Can't return scope reference from a function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 26 14:35:47 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=21286
timon.gehr at gmx.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timon.gehr at gmx.ch
--- Comment #2 from timon.gehr at gmx.ch ---
It is not so clear to me whether `scope` on a local function is supposed to
qualify the context pointer or the return value. Delegate contexts in general
are a big source of DIP1000 unsoundness.
--
More information about the Digitalmars-d-bugs
mailing list