[Issue 10850] Inout substituted incorrectly for delegates/fptrs in inout function signature

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 13 12:42:57 PDT 2014


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

--- Comment #5 from timon.gehr at gmx.ch ---
(In reply to Sobirari Muhomori from comment #4)
> ...
> An implementation, which should be technically easy is to preprocess the
> type of an outer variable at the point of access in nested function and
> convert its inout qualifier to const. ...

As I have pointed out, this approach is unsound.

--


More information about the Digitalmars-d-bugs mailing list