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

           Summary: -o- switch bearks semantic analysis
           Product: D
           Version: 2.023
          Platform: PC
               URL: http://digitalmars.com/d/2.0/dmd-windows.html#switches
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: ma...@pochta.ru


---
module Test;

interface NetworkListener
{
    void onConnect();
}

class SoundManager : private NetworkListener
{
    private final void onConnect()
    {
    }
}
---
compiling this code with -c -o- switches yields no error messages, while
compilation with -c switch yields error.

>dmd -c tmp.d -o- -I.. -w

>dmd -c tmp.d -I.. -w
tmp.d(16): class Test.SoundManager interface function NetworkListener.onConnect
isn't implemented


-- 

Reply via email to