Incorporation tests

This commit is contained in:
Svetlana Isakova
2015-06-29 18:58:06 +03:00
parent 179c5e3c3a
commit db8085c399
132 changed files with 2229 additions and 8 deletions
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
EQUAL P Consumer<T>
type parameter bounds:
T := Int
P := Consumer<T>*, := Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
EQUAL P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
SUBTYPE P Consumer<T>
type parameter bounds:
T := Int
P <: Consumer<T>*, <: Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
SUBTYPE P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
SUPERTYPE P Consumer<T>
type parameter bounds:
T := Int
P >: Consumer<T>*, >: Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
SUPERTYPE P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
EQUAL P Consumer<T>
type parameter bounds:
T <: Int
P := Consumer<T>*, >: Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
EQUAL P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
SUBTYPE P Consumer<T>
type parameter bounds:
T <: Int
P <: Consumer<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
SUBTYPE P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
SUPERTYPE P Consumer<T>
type parameter bounds:
T <: Int
P >: Consumer<T>*, >: Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
SUPERTYPE P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
EQUAL P Consumer<T>
type parameter bounds:
T >: Int
P := Consumer<T>*, <: Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
EQUAL P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
SUBTYPE P Consumer<T>
type parameter bounds:
T >: Int
P <: Consumer<T>*, <: Consumer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Consumer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
SUBTYPE P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
SUPERTYPE P Consumer<T>
type parameter bounds:
T >: Int
P >: Consumer<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
SUPERTYPE P Consumer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
EQUAL P Producer<T>
type parameter bounds:
T := Int
P := Producer<T>*, := Producer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Producer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
EQUAL P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
SUBTYPE P Producer<T>
type parameter bounds:
T := Int
P <: Producer<T>*, <: Producer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Producer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
SUBTYPE P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
SUPERTYPE P Producer<T>
type parameter bounds:
T := Int
P >: Producer<T>*, >: Producer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Producer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
SUPERTYPE P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
EQUAL P Producer<T>
type parameter bounds:
T <: Int
P := Producer<T>*, <: Producer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Producer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
EQUAL P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
SUBTYPE P Producer<T>
type parameter bounds:
T <: Int
P <: Producer<T>*, <: Producer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Producer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
SUBTYPE P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
SUPERTYPE P Producer<T>
type parameter bounds:
T <: Int
P >: Producer<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
SUPERTYPE P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
EQUAL P Producer<T>
type parameter bounds:
T >: Int
P := Producer<T>*, >: Producer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Producer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
EQUAL P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
SUBTYPE P Producer<T>
type parameter bounds:
T >: Int
P <: Producer<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
SUBTYPE P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
SUPERTYPE P Producer<T>
type parameter bounds:
T >: Int
P >: Producer<T>*, >: Producer<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=Producer<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
SUPERTYPE P Producer<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
EQUAL P My<T>
type parameter bounds:
T := Int
P := My<T>*, := My<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=My<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
EQUAL P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
SUBTYPE P My<T>
type parameter bounds:
T := Int
P <: My<T>*, <: My<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=My<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
SUBTYPE P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
EQUAL T Int
SUPERTYPE P My<T>
type parameter bounds:
T := Int
P >: My<T>*, >: My<Int>
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: false
-isSuccessful: true
result:
T=Int
P=My<Int>
@@ -0,0 +1,4 @@
VARIABLES T P
EQUAL T Int
SUPERTYPE P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
EQUAL P My<T>
type parameter bounds:
T <: Int
P := My<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
EQUAL P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
SUBTYPE P My<T>
type parameter bounds:
T <: Int
P <: My<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
SUBTYPE P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUBTYPE T Int
SUPERTYPE P My<T>
type parameter bounds:
T <: Int
P >: My<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUBTYPE T Int
SUPERTYPE P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
EQUAL P My<T>
type parameter bounds:
T >: Int
P := My<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
EQUAL P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
SUBTYPE P My<T>
type parameter bounds:
T >: Int
P <: My<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
SUBTYPE P My<T>
@@ -0,0 +1,23 @@
VARIABLES T P
SUPERTYPE T Int
SUPERTYPE P My<T>
type parameter bounds:
T >: Int
P >: My<T>*
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: false
-hasContradiction: false
-hasErrorInConstrainingTypes: false
-hasTypeConstructorMismatch: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: true
-hasViolatedUpperBound: false
-isSuccessful: false
result:
T=Int
P=???
@@ -0,0 +1,4 @@
VARIABLES T P
SUPERTYPE T Int
SUPERTYPE P My<T>