Changed test data
Added an extra blank line to rendered constraint system
This commit is contained in:
@@ -358,7 +358,7 @@ public object Renderers {
|
||||
typeBounds.add(constraintSystem.getTypeBounds(variable))
|
||||
}
|
||||
return "type parameter bounds:\n" +
|
||||
StringUtil.join(typeBounds, { renderTypeBounds.render(it) }, "\n") + "\n" + "status:\n" +
|
||||
StringUtil.join(typeBounds, { renderTypeBounds.render(it) }, "\n") + "\n\n" + "status:\n" +
|
||||
ConstraintsUtil.getDebugMessageForStatus(constraintSystem.getStatus())
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ SUPERTYPE T String
|
||||
|
||||
type parameter bounds:
|
||||
T <: kotlin.Int, >: kotlin.String
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: true
|
||||
|
||||
@@ -5,6 +5,7 @@ SUPERTYPE T Int
|
||||
|
||||
type parameter bounds:
|
||||
T <: kotlin.Int, >: kotlin.Int
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -4,6 +4,7 @@ SUBTYPE List<T> Int
|
||||
|
||||
type parameter bounds:
|
||||
T
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -4,6 +4,7 @@ SUBTYPE Any Any
|
||||
|
||||
type parameter bounds:
|
||||
T
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE T String weak
|
||||
|
||||
type parameter bounds:
|
||||
T <: kotlin.Int, <: kotlin.String
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: true
|
||||
|
||||
@@ -5,6 +5,7 @@ SUPERTYPE T A
|
||||
|
||||
type parameter bounds:
|
||||
T <: B, >: A
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: true
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE T B
|
||||
|
||||
type parameter bounds:
|
||||
T <: A, <: B
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
+1
@@ -5,6 +5,7 @@ SUPERTYPE T C
|
||||
|
||||
type parameter bounds:
|
||||
T <: A, >: C
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
+1
@@ -6,6 +6,7 @@ SUPERTYPE T C
|
||||
|
||||
type parameter bounds:
|
||||
T <: A, >: B, >: C
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE T Byte
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1000), <: kotlin.Byte
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: true
|
||||
|
||||
@@ -5,6 +5,7 @@ SUPERTYPE T IntegerValueType(10000000000)
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1), >: IntegerValueType(10000000000)
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE T Any
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1), <: kotlin.Any
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUPERTYPE T String
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1), >: kotlin.String
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUPERTYPE T IntegerValueType(1000)
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1), >: IntegerValueType(1000)
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE T Byte
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1), <: kotlin.Byte
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -4,6 +4,7 @@ SUPERTYPE T IntegerValueType(1)
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1)
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE T Short
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1), <: kotlin.Short
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE T Int
|
||||
type parameter bounds:
|
||||
T <: kotlin.Int
|
||||
P <: kotlin.Int
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -4,6 +4,7 @@ SUBTYPE Consumer<A> Consumer<T>
|
||||
|
||||
type parameter bounds:
|
||||
T <: A
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -4,6 +4,7 @@ SUBTYPE My<T> My<A>
|
||||
|
||||
type parameter bounds:
|
||||
T := A
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
@@ -4,6 +4,7 @@ SUBTYPE Producer<A> Producer<T>
|
||||
|
||||
type parameter bounds:
|
||||
T >: A
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
|
||||
Reference in New Issue
Block a user