[Issue 17743] Type system hole: escaping inout delegates
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Aug 14 06:32:14 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17743
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
This is why inout data is not allowed to be stored as a global (which
essentially you have done). Basically, inout data should not be allowed to
escape the function except via the parameters or return, where it is properly
handled.
--
More information about the Digitalmars-d-bugs
mailing list