[Issue 1783] New: DMD 1.025 asserts on code with struct, template,	and alias
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Jan 11 18:10:32 PST 2008
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1783
           Summary: DMD 1.025 asserts on code with struct, template, and
                    alias
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: WinstonEwert at gmail.com
The Code:
module test;
template T()
{
}
struct S
{
    alias T!() data;
}
unittest
{
    S.data.V;
}
The Result:
dmd: mtype.c:4262: virtual Expression* TypeStruct::dotExp(Scope*, Expression*,
Identifier*): Assertion `d' failed.
Aborted (core dumped)
I'm running on Ubuntu, using Tango. I have to pass -unittest to induce the
failure (naturally)
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list