generate constraint system tests
more tests added
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE T B
|
||||
SUPERTYPE T A
|
||||
|
||||
type parameter bounds:
|
||||
T <: B(SPECIAL), >: A(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: true
|
||||
-hasContradiction: true
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: false
|
||||
|
||||
result:
|
||||
T=???
|
||||
@@ -0,0 +1,18 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE T A
|
||||
SUBTYPE T B
|
||||
|
||||
type parameter bounds:
|
||||
T <: A(SPECIAL), <: B(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=B
|
||||
@@ -0,0 +1,18 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE T A
|
||||
SUPERTYPE T C
|
||||
|
||||
type parameter bounds:
|
||||
T <: A(SPECIAL), >: C(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=C
|
||||
@@ -0,0 +1,19 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE T A
|
||||
SUPERTYPE T B
|
||||
SUPERTYPE T C
|
||||
|
||||
type parameter bounds:
|
||||
T <: A(SPECIAL), >: B(SPECIAL), >: C(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=B
|
||||
Reference in New Issue
Block a user