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

           Summary: ctfe stack assertion failed
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: ellery-newco...@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2012-06-16 
13:27:00 PDT ---
dmd 2.059

the [invalid] code:

class J {
    J j2(){
        return new J();
    }
}
J j() {
    static J m, func; 
    static func = m.j2();
    return func;
}

the compile:

dmd test.d

the fireworks:

dmd: interpret.c:94: Expression* CtfeStack::getValue(VarDeclaration*):
Assertion `v->ctfeAdrOnStack >= 0 && v->ctfeAdrOnStack < globalValues.dim'
failed.
Aborted (core dumped)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to