Summary: [CTFE] Assertion failure when attempting to access
                    function pointer of delegate
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Robert Clipsham <> 2012-01-02 
20:40:18 GMT ---
auto foo()
    void delegate() myDg;
    return myDg.funcptr;
enum _ = foo();
This gives an assertion failure using dmd 2.057:
Assertion failed: (IsStackValueValid(newval)), function createStackValue, file
interpret.c, line 6262.

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

Reply via email to