generate constraint system tests
more tests added
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE T Int
|
||||
SUPERTYPE T String
|
||||
|
||||
type parameter bounds:
|
||||
T <: jet.Int(SPECIAL), >: jet.String(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 Int
|
||||
SUPERTYPE T Int
|
||||
|
||||
type parameter bounds:
|
||||
T <: jet.Int(SPECIAL), >: jet.Int(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Int
|
||||
@@ -0,0 +1,17 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE List<T> Int
|
||||
|
||||
type parameter bounds:
|
||||
T
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: true
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: true
|
||||
-hasUnknownParameters: true
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: false
|
||||
|
||||
result:
|
||||
T=???
|
||||
@@ -0,0 +1,17 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE Any Any
|
||||
|
||||
type parameter bounds:
|
||||
T
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasUnknownParameters: true
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: false
|
||||
|
||||
result:
|
||||
T=???
|
||||
@@ -0,0 +1,18 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE T Int
|
||||
SUBTYPE T String !
|
||||
|
||||
type parameter bounds:
|
||||
T <: jet.Int(SPECIAL), <: jet.String(TYPE_BOUND_POSITION(0))
|
||||
status:
|
||||
-hasConflictingConstraints: true
|
||||
-hasContradiction: true
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: true
|
||||
-isSuccessful: false
|
||||
|
||||
result:
|
||||
T=???
|
||||
Reference in New Issue
Block a user