COBCH1851 keyword not allowed with operators

The program contains the specified keyword when declaring an operator. This is not allowed.

Resolution:

Correct the code; then recompile.

Example:

The following example shows a scenario that would cause this error to be thrown.

       class-id A.
       operator-id + redefine (o1 as type A, o2 as type A) returning ret as type A.
       end operator.
       end class.