@disable on override function

Simen kjaeraas simen.kjaras at gmail.com
Fri Nov 5 17:25:52 PDT 2010


Jesse Phillips <jessekphillips+D at gmail.com> wrote:

> Should the compiler not compile the class saying something to the effect  
> of:
> Can not disable method hello in base class A from B.

I think this is the best solution.
"Cannot @disable overriding functions", I'd say.

-- 
Simen


More information about the Digitalmars-d mailing list