[Issue 11208] returned ref to scoped isn't caught by local ref escape error
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Sep 14 16:18:26 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=11208
b2.temp at gmx.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |b2.temp at gmx.com
Resolution|--- |INVALID
--- Comment #1 from b2.temp at gmx.com ---
scope documentation says:
> This facility is unsafe;
> it is the responsibility of the user to not escape a reference to the
> object outside the scope.
so it's invalid to the extent that it's specified.
--
More information about the Digitalmars-d-bugs
mailing list