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

           Summary: Possible to instantiate forward referenced classes
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: d...@dawgfoto.de


--- Comment #0 from d...@dawgfoto.de 2012-01-30 17:28:33 PST ---
class Forward;

void main()
{
    auto fwd = new Forward; // linker error
}

----

This should be detected at compile time.

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

Reply via email to