Added more tests on incorporation
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
VARIABLES T P E
|
||||
|
||||
SUBTYPE T P
|
||||
SUBTYPE P E
|
||||
SUBTYPE E Int
|
||||
|
||||
type parameter bounds:
|
||||
T <: P*, <: E*, <: Int
|
||||
P >: T*, <: E*, <: Int
|
||||
E >: T*, >: P*, <: Int
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasTypeInferenceIncorporationError: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=Int
|
||||
P=Int
|
||||
E=Int
|
||||
Reference in New Issue
Block a user