Hello,

Is it possible to rename a method in a subclass (with or without overriding); 
for instance because the new name makes more sense in the subclass?

In my case, the situation is a bit different: a single method splits into two 
methods in a subclass. One is equivalent to the inherited one, but really would 
benefit of a new name because of the existence of the second one: FuncA vs 
FuncB2. Instead, in the superclass, it makes no sense to call it FuncA.


Denis
________________________________

vit esse estrany ☣

spir.wikidot.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to