Variable with same name as method is not recognised as a variable by the parser

Claus Pedersen

Member³
I have the following code snippet in a package:
Code:
PROCEDURE tester IS
  tester  INT;
  tester2 INT;
BEGIN
  NULL;
END;

When compiling, I get one hint that:
Hint: Variable 'tester2' is declared but never used in 'tester'

But the variable 'tester' is not recognised as a variable by the PLD parser and is not reported as never used.
 
Back
Top