COBCH1923 Interface interface-name-1 is more visible than inherited interface interface-name-2

The program declares an interface that inherits from another interface, and this interface is more visible than the inherited one.

Resolution:

Correct the code; then recompile.

Example:

The following example shows code that would throw this error.

       interface-id IInterface1 internal.
       end interface.
       interface-id IInterface2 public  inherits type IInterface1.
       end interface.