[Issue 3663] New: struct forward reference regresssion

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 1 07:42:00 PST 2010


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

           Summary: struct forward reference regresssion
           Product: D
           Version: 1.054
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: nfxjfg at gmail.com


--- Comment #0 from nfxjfg at gmail.com 2010-01-01 07:41:59 PST ---
The following code freezes up dmd 1.054, but works in dmd 1.053:

class A {
    struct B {
        D x;

        struct C {}
    }
}


struct D {}

Interestingly, it works if you remove the declaration for C.
This bug currently prevents the compilation of Tango.

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


More information about the Digitalmars-d-bugs mailing list