Summary: ctfe stack assertion failed
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Ellery Newcomer <> 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'
Aborted (core dumped)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to