Files
kotlin-fork/compiler/testData/constraintSystem/severalVariables/nullable/contravariant/varEqDepEq.bounds
T
Svetlana Isakova b162a65e85 Changed the way the constraints are written in tests
SUBTYPE T Int -> T <: Int
2015-07-13 21:57:59 +03:00

24 lines
497 B
Plaintext
Vendored

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