Bug: code completion on members does not work for record constants

Claus Pedersen

Member³
I have a record. I can use code completion for this, both for the variable name and its members.

I also have the same record type defined as a constant. I can still use code completion for the name, but not for its members.

Why?
 

Code:
CREATE OR REPLACE PROCEDURE tester IS

  TYPE my_rec_type IS RECORD (
    a NUMBER,
    b NUMBER);

  k_my_rec CONSTANT my_rec_type DEFAULT NULL;

  v_my_rec          my_rec_type;

BEGIN
  v_my_rec.               -- use code completion here, works OK
  v_my_rec.a := k_my_rec. -- use code completion here, does not work
END;

If you use code completion on the code "v_my_rec.", it works OK (columns a and b are shown).

IF you use code completion on the code "k_my_rec.", it does not work (nothing is shown).
 
Back
Top