www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2553] New: Private interfaces cause a link error

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

           Summary: Private interfaces cause a link error
           Product: D
           Version: 2.021
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: samukha voliacable.com


private interface IFoo
{
   void foo();
}

void main()
{
    IFoo foo;
    foo.foo;
}

Error 42: Symbol Undefined _D4Test4IFoo3fooMFZv


-- 
Jan 03 2009