Files
kotlin-fork/compiler/testData/constraintSystem/severalVariables/other/simpleFun.bounds
T
Svetlana Isakova 1cfb7d8f57 Changed constraint system tests
after adding new error 'hasTypeParameterWithUnsatisfiedOnlyInputTypesError'
2015-10-16 21:58:46 +03:00

28 lines
571 B
Plaintext
Vendored

VARIABLES T P E
Int <: T
P <: String
E <: Fun<T, P>
type parameter bounds:
T >: Int
P <: String
E <: Fun<T, P>*, <: Fun<Int, P>*, <: Fun<Int, String>, <: Fun<T, String>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasParameterConstraintError: false
-hasTypeInferenceIncorporationError: false
-hasTypeParameterWithUnsatisfiedOnlyInputTypesError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=String
E=Fun<Int, String>