TypeCobolTeam / TypeCobol

TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
Other
78 stars 26 forks source link

Procedure overloading signatures with PICTURE Types failed. #1470

Open mayanje opened 5 years ago

mayanje commented 5 years ago

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.
smedilol commented 4 years ago

See also #1090