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

--- Comment #1 from Harry Vennik <[email protected]> ---
Tested once again with an additional pragma statement in main():

void main()
{
    C c;
    pragma(msg, typeof(&c.arr));
    foo(&c.arr);
}

The pragma outputs: inout(int[]) delegate() inout nothrow @nogc @property @safe

Since the delegate's context actually gets typed as inout, foo() does in fact
have an inout parameter.

--

Reply via email to