[Issue 19126] Compiler removes inout on templated parameter and then complains it's not there

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 1 14:24:52 UTC 2018


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

--- Comment #3 from anonymous4 <dfj1esp02 at sneakemail.com> ---
inout on return means inout must be on a parameter as well for pure nothrow
@nogc @safe inout(W!(immutable(int)))(immutable(int) t)
Looks like it's a signature of wrap0 function - the name is missing.

--


More information about the Digitalmars-d-bugs mailing list