attribute bug?

Jonathan M Davis jmdavisProg at gmx.com
Fri Nov 9 13:02:43 PST 2012


On Friday, November 09, 2012 10:32:55 Ali Çehreli wrote:
> I knew that about 'private' but apparently 'package' is the same.

Yes. public and protected are always virtual unless they're final and don't 
override anything (in which case, the compiler can choose to make them non-
virtual). private and package are always non-virtual. IIRC though, the docs
do need to be updated, since they imply that package is virtual, even though
that's definitely not the case and isn't supposed to be the case.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list