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;
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;
For this bug there is nothing you can configure. The rule is hardcoded in one of our DLLs. You can disable the check syntax as you type option, but that will suppress all syntax checks.