Thread overview
[Issue 1242] New: DMD AV
May 21, 2007
d-bugmail
May 21, 2007
d-bugmail
Jun 12, 2007
d-bugmail
Jul 01, 2007
d-bugmail
May 21, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1242

           Summary: DMD AV
           Product: D
           Version: 1.014
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: davidl@126.com


struct Token
{
        static char[] tochars[TOK.TOKMAX];
}
enum TOK
{
        TOKreserved,
}
TOK number(Token *t)
{
}
void main()
{
}


-- 

May 21, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1242





------- Comment #1 from davidl@126.com  2007-05-21 08:08 -------
smallest case:
struct Token
{
        static char[] tochars[TOK.TOKMAX];
}
enum TOK
{
        TOKreserved,
}
void main()
{
}


-- 

June 12, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1242





------- Comment #2 from davidl@126.com  2007-06-12 10:59 -------

another test case of forward referencing(I think it's related to this bug):

alias a.b c;
enum a{
        b
}


-- 

July 01, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1242


bugzilla@digitalmars.com changed:

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




------- Comment #3 from bugzilla@digitalmars.com  2007-07-01 14:07 -------
Fixed DMD 1.018 and DMD 2.002


--