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

24 lines
451 B
Plaintext
Vendored

VARIABLES T P
SUPERTYPE 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?>