Toad World® Forums

"public to spec" issue


#1

Hi Gwen,

You have the following package:

CREATE OR REPLACE

PACKAGE testpck

/

CREATE OR REPLACE

PACKAGE BODY testpck

IS

PROCEDURE procedure_name

IS

BEGIN

END;

/

You will get the following code in the spec:

PACKAGE TELEFON.TESTPCK

IS

PROCEDURE p;

END;

Now delete the line PROCEDURE p; and put brackets at the end of the procedure name in the body like this: “PROCEDURE procedure_name()”. Next step is to use the context menu again and pubic this now in the spec. Now it works fine and will not get any compiler error.

This is a Bug, because procedures or function without any parameter can be without brackets.

Best regards

Alex

ISEND;
NULL;END;Now you try to public the PROCEDURE procedure_name in to spec with context menu:
(see screen shot)
image002.png


#2

Hi Alex,

Thanks for the feedbacks. We will have this fixed soon.

Gwen


#3

This has been fixed in our internal build.

Cheers,
Roman