Thread overview
[Issue 6845] New: ICE in Type::syntaxCopy
Oct 23, 2011
Trass3r
Oct 23, 2011
Trass3r
[Issue 6845] ICE(mtype.c) after error in constructor parameters
Dec 13, 2011
Trass3r
October 23, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6845

           Summary: ICE in Type::syntaxCopy
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: mrmocool@gmx.de


--- Comment #0 from Trass3r <mrmocool@gmx.de> 2011-10-23 11:14:33 PDT ---
This is the DustMite reduction:

struct Bla
{
    this(objects)
    {
    }
}

Error: undefined identifier objects, did you mean import object?
_error_ 0x18d5830
ty = 35
dmd: mtype.c:145: virtual Type* Type::syntaxCopy(): Assertion `0' failed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 23, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6845



--- Comment #1 from Trass3r <mrmocool@gmx.de> 2011-10-23 11:15:57 PDT ---
This is more like the original problem:

struct Blub
{
//    alias int type;
}

struct Bla(T)
{
    this(T.type t) // doesn't happen with a normal method
    {
    }
}

alias Bla!Blub gg;

Error: no property 'type' for type 'Blub'
Error: T.type is used as a type
1: _error_ 0x1620830
ty = 35
dmd: mtype.c:145: virtual Type* Type::syntaxCopy(): Assertion `0' failed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 13, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6845


Trass3r <mrmocool@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from Trass3r <mrmocool@gmx.de> 2011-12-12 18:19:17 PST ---
Seems like this has been fixed in the meantime.

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