Files
kotlin-fork/compiler/testData/constraintSystem/severalVariables/other/simpleFun.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

26 lines
511 B
Plaintext
Vendored

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