G-9102: false positive for collection type
PhilippSalvisberg opened this issue · comments
Philipp Salvisberg commented
The following code
declare
t_words word_ct;
begin
t_words := word_ct();
pkg.proc(t_words);
end;
/
throws a G-9102: Always prefix local variables with 'l_'
warning.
The rule should consider the prefix t_
as valid. This might lead to false negatives, but I think it's better.
Philipp Salvisberg commented
Allow also cursor names starting with c_
, object names starting with o_
and common indices i
and j