Toad World® Forums

Toad 12.8.049 - this variable has zero size

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?

This was fixed after 12.8 was finalized. If you are a beta user the fix will be available in the first 12.9 beta to be released soon.

Michael

From: j.kooistra [mailto:bounce-jkooistra@toadworld.com]

Sent: Thursday, November 05, 2015 9:23 AM

To: toadoracle@toadworld.com

Subject: [Toad for Oracle - Discussion Forum] Toad 12.8.049 - this variable has zero size

Toad 12.8.049 - this variable has zero size

Thread created by j.kooistra

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?

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - General
notifications altogether.

Toad for Oracle - Discussion Forum

Flag
this post as spam/abuse.

ok, thanks but … not the answer I was hoping for ;-(

unfortuanatly, I’m no beta user

isn’t there a ‘syntax rule config file’ or something I could mess with for the time being?

If I wanted to become a beta user, could you give me the ETA for the 12.9 release?

The 12.9 beta program will be starting up this week with an estimated release in the late second quarter of 2017.

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.

From: j.kooistra [mailto:bounce-jkooistra@toadworld.com]

Sent: Thursday, November 05, 2015 9:45 AM

To: toadoracle@toadworld.com

Subject: RE: [Toad for Oracle - Discussion Forum] Toad 12.8.049 - this variable has zero size

RE: Toad 12.8.049 - this variable has zero size

Reply by j.kooistra

ok, thanks but … not the answer I was hoping for ;-(

unfortuanatly, I’m no beta user

isn’t there a ‘syntax rule config file’ or something I could mess with for the time being?

If I wanted to become a beta user, could you give me the ETA for the 12.9 release?

To reply, please reply-all to this email.

Stop receiving emails on this subject.

Or
Unsubscribe from Toad for Oracle - General
notifications altogether.

Toad for Oracle - Discussion Forum

Flag
this post as spam/abuse.

“The 12.9 beta program will be starting up this week with an estimated release in the late second quarter of 2017.”

You’re not really saying we have to wait over a year for the fix if we’re not on the beta programme?