COBCH1857 Cannot specify implicit and explicit conversions with same source and target types

The program contains either an explicit or an implicit conversion operator with the same source and target type. Neither of these are allowed.

Resolution:

Correct the code; then recompile.

Example:

In the following example, both the IMPLICIT and EXPLICIT operands use STRING as both the source and target type.

       class-id A.
       operator-id implicit (param1 as type A) returning ret as string.
           set ret to param1::ToString
       end operator.
       operator-id explicit (param1 as type A) returning ret as string.
           set ret to param1::ToString
       end operator.
       end class.