TypeCobol icon indicating copy to clipboard operation
TypeCobol copied to clipboard

Procedure overloading signatures with PICTURE Types failed.

Open mayanje opened this issue 5 years ago • 1 comments

The following procedure signatures are not recognized as different by TypeCobol. two messages "Syntax error: A function "InitShape" with the same profile already exits in namespace..."

       DECLARE PROCEDURE InitShape PUBLIC
               INPUT
                         Ext              PIC 9
               OUTPUT    RC               PIC 9
               .
       END-DECLARE.
       DECLARE PROCEDURE InitShape PUBLIC
               INPUT
                         Ext2              PIC X(3)
               OUTPUT    RC                PIC 9999
               .
       END-DECLARE.

mayanje avatar Sep 16 '19 11:09 mayanje

See also #1090

smedilol avatar Jan 03 '20 10:01 smedilol