TypeCobol icon indicating copy to clipboard operation
TypeCobol copied to clipboard

Procedure overload with POINTER does not work

Open collarbe opened this issue 6 years ago • 1 comments

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.

collarbe avatar Jun 11 '18 07:06 collarbe

To fix all cases regarding overload, can you also add DataType for:

  • procedure-pointer
  • object reference
  • function-pointer
  • Index

smedilol avatar Aug 07 '18 14:08 smedilol