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

24 lines
452 B
Plaintext
Vendored

VARIABLES T P
EQUAL T Int
SUPERTYPE P Consumer<T?>
type parameter bounds:
T := 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?>