After installing Toad 12.8.049 suddenly perfectly working code is tagged by TOAD as faulty:
create or replace package body Dummy as
type TSomeList is table of varchar2(20) index by pls_Integer;
function getSomeList(pSeed varchar2) return TSomeList as
result TSomeList; -- <==== TOAD: syntax check: this variable has zero size
begin
-- do some magic her
--
result(result.count+1) := 'aaa';
result(result.count+1) := 'bbb';
--
return result;
end;
end;
/
why?