code assistant doesn't see overloaded procedure

Worker

Member³
Compile the following two package headers:

Code:
CREATE OR REPLACE PACKAGE Test1 AS
PROCEDURE Foo(
	a1 NUMBER,
	b1 NUMBER );
PROCEDURE Foo(
	b1 VARCHAR2,
	b2 VARCHAR2 );
END Test1;

Code:
CREATE OR REPLACE PACKAGE Test2 AS
PROCEDURE Foo(
	a1 NUMBER );
PROCEDURE Foo(
	b1 VARCHAR2,
	b2 VARCHAR2 );
END Test2;

Now open a test window and try the following:
Code:
begin
	Test1.foo(
	Test2.foo(
end;

On the first line, the code assistant will pop up a window that lets you pick which version of the function to call. On the second line, it automatically fills in "a1 => " and doesn't see the second function. This seems wrong, and it seems that the same pop-up window should appear for the second line.
 
The Code Assistant will show a little overload selector at the bottom of the list for overloaded program units. Click on the buttons to select an overloading, or press cursor-left and cursor-right when the focus is on the Code Assistant pane (e.g. after pressing cursor-down).
 
Not in this case for me, although there's one more detail: If the code assistant automatically pops up (due to typing the parenthesis), everything is fine. But pressing F6 on the second line after the parenthesis causes "a1 => " to be filled in instead of popping up the code assistant.
 
Back
Top