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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |rg

--- Comment #1 from [email protected] ---
Reduced example:

==========================================
@safe void check()
{
    int random;

    auto createGenerator() {
        return RndValueGen(&random);
    }

    scope gen = createGenerator;
}

struct RndValueGen
{
    int* rnd;
}
==========================================

--

Reply via email to