Bug or feature?

Jack Applegame via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 10 10:18:55 PDT 2015


code:

> class A {
>     void test(int) {}
> }
> 
> class B : A {
>     void test() {
>         super.test(1); // compiles
>         test(10);      // error
>     }
> }

Error: function B.test () is not callable using argument types 
(int)


More information about the Digitalmars-d-learn mailing list