fix Issue 10616 - class C: C.D{static class D{}} does not work
Merge pull request #2449 from 9rnsr/fix10616

Issue 10616 - class C: C.D{static class D{}} does not work