[Issue 15253] [REG2.069.0-rc1] inliner prevent  compilation
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Wed Oct 28 01:08:51 PDT 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15253
Rainer Schuetze <r.sagitario at gmx.de> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de
--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
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
--
    
    
More information about the Digitalmars-d-bugs
mailing list