Files
kotlin/compiler/testData/constraintSystem/severalVariables/recursive/implicitlyRecursive.bounds
Svetlana Isakova 89e16ecbcc Don't generate constraint if a type variable was substituted twice
to prevent infinite recursion
2015-07-10 15:05:06 +03:00

27 lines
548 B
Plaintext
Vendored

VARIABLES T P E
SUBTYPE T Producer<P>
SUBTYPE P Producer<E>
SUBTYPE E Producer<P>
type parameter bounds:
T <: Producer<P>*, <: Producer<Producer<E>>*, <: Producer<Producer<Producer<P>>>*
P <: Producer<E>*
E <: Producer<P>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=???
P=???
E=???