Files
kotlin-fork/compiler/testData/constraintSystem/severalVariables/nullable/contravariant/varSubDepEq.bounds
T
2015-07-10 15:05:12 +03:00

24 lines
459 B
Plaintext
Vendored

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