[Issue 2830] New: private attribute doesn't work for structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 10 05:50:11 PDT 2009


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

           Summary: private attribute doesn't work for structs
           Product: D
           Version: 2.027
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: maxmo at pochta.ru


tmp1.d
---
private struct TestStruct
{
  int var;
}
---
tmp.d
---
import tmp1;

int main()
{
  TestStruct s;
  s.var=0;
  return 0;
}
---


-- 



More information about the Digitalmars-d-bugs mailing list