[Issue 2386] New: Array of forward referenced struct doesn't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 2 07:49:15 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2386

           Summary: Array of forward referenced struct doesn't compile
           Product: D
           Version: 2.019
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: terranium at yandex.ru
OtherBugsDependingO 340
             nThis:


struct BB
{
  Item[1] aa; //struct tmp.Item no size yet for forward reference
}

struct CC
{
  Item aa; //ok
}

struct Item
{
  byte data;
}


-- 



More information about the Digitalmars-d-bugs mailing list