On Sat, Jun 20, 2009 at 4:51 AM, qniol<[email protected]> wrote:
> Hello!
>
> What's "protection" here for?
>
> class Duper : protection Super { ... }
>
> for protection being either:
> private
> package
> public
> export
>
> and Super being a class.

It's a remnant from presumably an earlier period in D's development.
Without MI, it's pointless.  The default is public, and using anything
other than public just breaks things.

I'm surprised (well,.. not really) that it's been in the spec and
compiler for so long without having been removed.

Reply via email to