Thread overview
[Issue 10259] New: ICE on invalid compile-time class instantiation
Jun 03, 2013
timon.gehr@gmx.ch
Aug 27, 2013
Henning Pohl
Nov 03, 2013
yebblies
June 03, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10259

           Summary: ICE on invalid compile-time class instantiation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: timon.gehr@gmx.ch


--- Comment #0 from timon.gehr@gmx.ch 2013-06-03 16:38:30 PDT ---
DMD 2.063:

class D{
    int x;
    D d = {auto x = new D(); return x;}();
}

enum x = new D;


/d825/f688.d(3): Error: delegate f688.D.__lambda1 function literals cannot be
class members
/d825/f688.d(3): Error: delegate f688.D.__lambda1 circular dependency.
Functions cannot be interpreted while being compiled
/d825/f688.d(3): called from here: (*_error_()
{
auto x = new D;
return x;
}
)()
dmd: ctfeexpr.c:354: Expression* copyLiteral(Expression*): Assertion `0'
failed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 27, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10259


Henning Pohl <henning@still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull
                 CC|                            |henning@still-hidden.de


--- Comment #1 from Henning Pohl <henning@still-hidden.de> 2013-08-27 12:58:06 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2501

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 03, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10259


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies@gmail.com


--- Comment #2 from yebblies <yebblies@gmail.com> 2013-11-04 03:18:52 EST ---
This bug doesn't seem to ice any more, on win32.

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