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

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