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

           Summary: scope class instantiations not supported in CTFE
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: CTFE
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: d...@dawgfoto.de


--- Comment #0 from d...@dawgfoto.de 2012-03-06 04:48:05 PST ---
cat > bug.d << CODE
int foo()
{
    scope obj = new Object;
    return 1;
}

enum v = foo();
CODE

dmd -c bug
--------
Error: Cannot interpret delete obj at compile time
--------

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

Reply via email to