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


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-12-01 10:12:07 
PST ---
Well, that's exceptionally weird. It compiles too. D doesn't support any kind
of inheritance but public. It seems like either it's a hold-over which was
never removed (assuming that D supported private or protected inheritance in
the past), or it was intended to make porting C++ code easier. But it seems to
me that allowing and then ignoring (as the compiler presumably does) protection
identifiers when inheriting classes is not good behavior. The fact that the
compiler allows it though means that it's more than just a spec issue.

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

Reply via email to