Added more tests on incorporation
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T? P?
|
||||
SUBTYPE P Int
|
||||
|
||||
type parameter bounds:
|
||||
T <: P?*, <: P*, <: Int, <: Int?
|
||||
P >: T*, <: 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
|
||||
Reference in New Issue
Block a user