Resolution:
Correct the code to specify the CONSTRAIN phrase just once for a given generic parameter. Multiple constraints expressed in the same CONSTRAIN clause are allowed.
Example:
The following example shows the CONSTRAIN phrase used both incorrectly and correctly, as indicated:
class-id GenericClass1 using T. constraints. constrain T is reference type constrain T inherits type A. *> Error only one CONSTRAIN per generic parameter end class. class-id GenericClass2 using T. constraints. constrain T is reference type *> ok, a single constrain can express multiple constraints inherits type A. end class. class-id A. end class.