Package and virtual functions

Timon Gehr timon.gehr at gmx.ch
Wed Jun 13 16:58:41 PDT 2012


On 06/14/2012 01:57 AM, BLM768 wrote:
> I guess that another solution to this whole mess is to just start
> requiring the use of override; then everyone would be educated and it
> would be obvious where the bug is in the code I posted. Since we don't
> want to break code, though, maybe there should be a message prominently
> displayed on the D homepage telling people to use the -w switch until
> the requirement is actually enforced for all code. If that requirement
> is going to be enforced, though, I can't think of a better time than
> now; otherwise, people are going to write code without "override" and
> eventually end up making the same mistakes that I did.
>
>

Yes, this is the plan.


More information about the Digitalmars-d-learn mailing list