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