January 19, 2015
Greetings

I hit what looks like a probable DMD bug. When I reduced with help from dustmite I get something like this. Can someone tell me if this is a bug or am I doing something illegal?

class A {
  B.BB b;
}

class B: A {
  static class BB {}
}

When I compile I get:

test.d(2): Error: no property 'BB' for type 'test.B'
test.d(2): Error: B.BB is used as a type

Regards
- Puneet