[Issue 2553] New: Private interfaces cause a link error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 3 03:41:17 PST 2009


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 at digitalmars.com
        ReportedBy: samukha at voliacable.com


private interface IFoo
{
   void foo();
}

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

Error 42: Symbol Undefined _D4Test4IFoo3fooMFZv


-- 



More information about the Digitalmars-d-bugs mailing list