http://d.puremagic.com/issues/show_bug.cgi?id=1835
------- Comment #3 from aarti at interia.pl  2008-02-14 08:47 -------
... B derives after A of course:
class A {
  typeof(this) setX(int x) {
    this.x = x;
  }
  int x;
}
class B : A {
        void test() {}
}
--