[Issue 2501] member function marked as final override ignores override requirements

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 11 08:01:31 PST 2008


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





------- Comment #2 from schveiguy at yahoo.com  2008-12-11 10:01 -------
The two attributes are orthogonal.

final means "nobody who derives from me can override this function"

override means "this function *must* override a base function"

All four cases are valid.  It is the case with both attributes set which is
being interpreted correctly.  I don't think final should mask override.


-- 



More information about the Digitalmars-d-bugs mailing list