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





------- Comment #10 from ma...@pochta.ru  2009-01-22 05:23 -------
Workaround:
---
module Test;

interface NetworkListener
{
    void onConnect();
}

class SoundManager : private NetworkListener
{
    protected final void onConnect()
    {
    }
}

void main()
{
        auto a=new SoundManager();
        auto b=cast(NetworkListener)a;
        b.onConnect();
}
---


-- 

Reply via email to