Beta 7 - Bug in refactoring procedures in a package body?

PeterW

Member³
Sample code:
Code:
create or replace package body pack
is
   procedure proc (p1 in number)
   is
   begin
      null;
   end proc;

   procedure proc
   is
   begin
      null;
   end proc;

begin
   null;
end pack;

When you want to rename one of the two procedures 'proc' by right-clicking on the name and choose 'Refactoring/Rename item...' from the context menu, you'll notice that both procedures are renamed. This is annoying when you have just copied a procedure and want to rename just the new one.

Is this intended behaviour?
 
I didn't consider overloaded procedures (we don't use them very much), but maybe there can be two refactoring-options: 'refactor one' and 'refactor all'?
 
Back
Top