Added more tests on incorporation

This commit is contained in:
Svetlana Isakova
2015-07-02 19:56:36 +03:00
parent 4c1eedce3b
commit fc69cf1b5e
26 changed files with 425 additions and 1 deletions
@@ -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]>