Files
kotlin-fork/compiler/testData/constraintSystem/severalVariables/other/severalOccurrences.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
513 B
Plaintext
Vendored

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