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

Rainer Schuetze <[email protected]> changed:

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

--- Comment #1 from Rainer Schuetze <[email protected]> ---
On windows dmd doesn't stop compiling (or I didn't wait long enough).

Here's a reduced test case:

struct MessageType {
    MessageType[] messageTypes;

    const void toString1(scope void delegate(const(char)[]) sink)
    {
        messageTypes[0].toString1(sink);
    }
}

struct ProtoPackage {
    MessageType[] messageTypes;

    const void toString1(scope void delegate(const(char)[]) sink)
    {
        messageTypes[0].toString1(sink);
    }
}

dmd -inline -c test.d

--

Reply via email to