Refactoring doesn't rename overrides a procedure in a classes hierarchy
Original Reporter info from Mantis: rusty_robot
-
Reporter name:
Original Reporter info from Mantis: rusty_robot
- Reporter name:
Description:
Let's take a trivial example:
type
A=class
procedure SomeProc; virtual;
end;
B=class(A)
procedure SomeProc; override;
end;
implementation
procedure A.SomeProc;
begin
end;
procedure B.SomeProc;
begin
//inherited SomeProc;
end;
end.
If line with 'inherited' isn't commented, refactoring can't find the identifier 'SomeProc' when trying to rename it. Otherwise only occurrences inside one class are renamed.
Mantis conversion info:
- Mantis ID: 16870
- Version: 0.9.29 (SVN)