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

24 lines
443 B
Plaintext
Vendored

VARIABLES T P
EQUAL T Int
EQUAL P Consumer<T>
type parameter bounds:
T := Int
P := Consumer<T>*, := Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>