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

25 lines
537 B
Plaintext
Vendored

VARIABLES T P
Int <: T
P := Consumer<Consumer<T>>
type parameter bounds:
T >: Int
P := Consumer<Consumer<T>>*, >: Consumer<Consumer<Int>>
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=Consumer<Consumer<Int>>