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


s...@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s...@iname.com
           Keywords|                            |accepts-invalid




------- Comment #4 from s...@iname.com  2009-01-07 15:36 -------
(In reply to comment #2)
> afaik public/private/protected inheritance is not supported in D it 
> is just not prohibited to write it like in the sample though it 
> always is publicly inherited.

What do you believe is the reason that D grammar goes out of its way to allow
this syntax?

> there should be a bug for enhancement to stop permiting this 
> confusing syntactical feature.

Issue 177

Notice the real reason the feature doesn't make sense: it hides the methods
defined in Object, which are meant to be part of every class.


-- 

Reply via email to