Files
kotlin-fork/compiler/testData/constraintSystem/severalVariables/interdependency/interdependency3.bounds
T
Svetlana Isakova db8085c399 Incorporation tests
2015-07-10 15:05:05 +03:00

28 lines
613 B
Plaintext
Vendored

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