digitalmars.D - Bug with nested static class referencing?
- d coder via Digitalmars-d (15/15) Jan 18 2015 Greetings
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
Jan 18 2015








d coder via Digitalmars-d <digitalmars-d puremagic.com>