[Issue 2080] New: Static variable without explicit type causes compiler to crash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 8 04:54:49 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2080

           Summary: Static variable without explicit type causes compiler to
                    crash
           Product: D
           Version: 1.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: samukha at voliacable.com


const s = foo(); // compiles if type of s is specified explicitly

char[] foo() // seems to fail only if the return type is char[]
{        
    return null;
}


-- 



More information about the Digitalmars-d-bugs mailing list