Incorporation tests
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL P Producer<T>
|
||||
EQUAL T Int
|
||||
|
||||
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>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL P Producer<T>
|
||||
EQUAL T Int
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE P Producer<T>
|
||||
EQUAL T Int
|
||||
|
||||
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>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE P Producer<T>
|
||||
EQUAL T Int
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE P Producer<T>
|
||||
EQUAL T Int
|
||||
|
||||
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>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE P Producer<T>
|
||||
EQUAL T Int
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL P Producer<T>
|
||||
SUBTYPE T Int
|
||||
|
||||
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>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL P Producer<T>
|
||||
SUBTYPE T Int
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE P Producer<T>
|
||||
SUBTYPE T Int
|
||||
|
||||
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>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE P Producer<T>
|
||||
SUBTYPE T Int
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE P Producer<T>
|
||||
SUBTYPE T Int
|
||||
|
||||
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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE P Producer<T>
|
||||
SUBTYPE T Int
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL P Producer<T>
|
||||
SUPERTYPE T Int
|
||||
|
||||
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>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL P Producer<T>
|
||||
SUPERTYPE T Int
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE P Producer<T>
|
||||
SUPERTYPE T Int
|
||||
|
||||
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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE P Producer<T>
|
||||
SUPERTYPE T Int
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE P Producer<T>
|
||||
SUPERTYPE T Int
|
||||
|
||||
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>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE P Producer<T>
|
||||
SUPERTYPE T Int
|
||||
Reference in New Issue
Block a user