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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 18 13:14:31 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10616



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-07-18 13:14:30 PDT ---
(In reply to comment #2)
> I am not arguing for any enhancement that would change the meaning of the above
> code.

Ah, so you want this to work:

class C: C.D{static class D{}}

but this to fail:

class C: D{static class D{}}

And the following would stay as-is:

class D { } class C: D{static class D{}}  // inherits global D

If that's so then this is reasonable.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list