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