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

           Summary: Confusion of auto and scope as the class attribute
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: rayerd....@gmail.com


auto class B {}
void main()
{
        B x;
}
a.d(4): variable a.main.x reference to scope class must be scope


-- 

Reply via email to