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

--- Comment #1 from Ali Ak <[email protected]> ---
f's instantiation with untyped lambda:

f!(W!int)
{
        auto pure nothrow @safe string f(ref W!int value)
        {
                return (void*[2] __this3 = null;) , value.hook();
        }

}

With typed lambda:

f!(W!int)
{
        auto pure nothrow @nogc @safe string f(ref W!int value)
        {
                return value.hook();
        }

}

--

Reply via email to