class Foo
{
    @property void test(int) {}
    @property int test() { return 1; }
}

class Bar : Foo
{
    alias super.test test;
    override @property void test(int) {}
    void bartest() { auto x = test; }
}

And it actually works! Is this a documented feature?

http://d-programming-language.org/hijack.html

Reply via email to