COBCH1845 Illegal combination of CONSTRAIN phrases

The program contains a CONSTRAIN syntax for a generic parameter, but the CONTRAIN syntax uses an illegal combination of phrases.

Resolution:

Correct the code; then recompile.

Example:

In the following example, IS REFERENCE TYPE combined with IS VALUE TYPE is illegal.

       class-id GenericClass using T.
       constraints.
           constrain T is reference type
                       is value type.
       end class.

       class-id A.
       end class.
       class-id B.
       end class.