www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Bug or Feature?

I started coding in D a few days now but I ran into a few problems, I wasn't
sure if these were bugs so I didnt make a bug report. the problem is with
interface inheritance and method signatures It doesn't ssem to work as expected
and I don't see any documentation saying otherwise.

interface A
void method();

interface B : A
void method(int a);

class Foo : B

B ref = new Foo();
ref.method();   //doesnt compile, requires an argument.

This works if the method name in interface B is different from A, Im able to
call method from interface. Am I doing something wrong? I expected this to work.
I'm using dmd 0.160 compile on winxp. Thanks for any help/replies!
Jun 13 2006