www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1242] New: DMD AV

reply d-bugmail puremagic.com writes:
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
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1242






smallest case:
struct Token
{
        static char[] tochars[TOK.TOKMAX];
}
enum TOK
{
        TOKreserved,
}
void main()
{
}


-- 
May 21 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1242







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

alias a.b c;
enum a{
        b
}


-- 
Jun 12 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1242


bugzilla digitalmars.com changed:

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





Fixed DMD 1.018 and DMD 2.002


-- 
Jul 01 2007