[Issue 24208] [DIP1000] Nested function can escape scope parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 29 23:29:26 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24208
--- Comment #3 from Paul Backus <snarwin+bugzilla at gmail.com> ---
Disregard previous example, I read the errors wrong. They occur in the function
bodies, not at the call site. The parameter of `escape` is not allowed to
escape at all if it is `scope`, even `return scope`.
--
More information about the Digitalmars-d-bugs
mailing list