Bug: compiler hint reports cursor parameter not used when prefixed with cursor name

Claus Pedersen

Member³
I have the following code:
Code:
CURSOR my_cursor (empno IN emp.empno%TYPE) IS
    SELECT *
    FROM   emp
    WHERE  emp.empno = my_cursor.empno;

When compiled, the hint says that parameter empno is never used. But it is used, it is just prefixed with the cursor name.

Syntax highlight is also confused, it can not highlight the cursor variable correctly

When my_cursor.empno is written as my_cursor. empno (with a space after the dot) everything works fine.
 
Thanks, looking forward to it.

In general, there have been reported a lot of suggestions for improvement of compiler hints and code completion (by me and other posters). I hope you have focused the development of 9.0 on improvements/bug corrections of the core functions of PL/SQL Developer: to make development of PL/SQL code as esay and efficient as possible ;)
 
Back
Top