TypeCobol
TypeCobol copied to clipboard
Procedure overload with POINTER does not work
The code below creates an error on MyProc, only when POINTER is used and the other input parameters is not typed.
DECLARE PROCEDURE MyProc PRIVATE
INPUT myPtn POINTER.
END-DECLARE.
DECLARE PROCEDURE MyProc PRIVATE
INPUT NumericInput PIC S9(9) COMP-5.
END-DECLARE.
To fix all cases regarding overload, can you also add DataType for:
- procedure-pointer
- object reference
- function-pointer
- Index