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

27 lines
552 B
Plaintext
Vendored

VARIABLES T P E
SUBTYPE Int T
SUBTYPE P String
SUBTYPE E Fun<T, P>
type parameter bounds:
T >: Int
P <: String
E <: Fun<T, [ERROR : No type element]>*, <: Fun<Int, [ERROR : No type element]>
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, [ERROR : No type element]>