[fpc-pascal] method renaming

spir denis.spir at gmail.com
Thu Jun 3 23:01:45 CEST 2010


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



More information about the fpc-pascal mailing list