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

24 lines
523 B
Plaintext
Vendored

VARIABLES T P
SUBTYPE T Int
SUBTYPE 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>>