Added tests for incorporation with nullable type parameter
This commit is contained in:
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
EQUAL P Consumer<T?>
|
||||
|
||||
type parameter bounds:
|
||||
T := Int, >: Int, <: Int?
|
||||
P := Consumer<T?>*, := Consumer<Int?>, <: Consumer<Int?>, >: 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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
EQUAL P Consumer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
SUBTYPE P Consumer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
compiler/testData/constraintSystem/severalVariables/nullable/contravariant/varEqDepSuper.constraints
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
SUPERTYPE P Consumer<T?>
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
EQUAL P Consumer<T?>
|
||||
|
||||
type parameter bounds:
|
||||
T <: Int, <: 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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
EQUAL P Consumer<T?>
|
||||
Vendored
+23
@@ -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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
SUBTYPE P Consumer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
SUPERTYPE P Consumer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
compiler/testData/constraintSystem/severalVariables/nullable/contravariant/varSuperDepEq.constraints
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
EQUAL P Consumer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
SUBTYPE P Consumer<T?>
|
||||
Vendored
+23
@@ -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=???
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
SUPERTYPE P Consumer<T?>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
EQUAL P Producer<T?>
|
||||
|
||||
type parameter bounds:
|
||||
T := Int, >: Int, <: Int?
|
||||
P := Producer<T?>*, := Producer<Int?>, >: Producer<Int?>, <: 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 T Int
|
||||
EQUAL P Producer<T?>
|
||||
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
SUBTYPE P Producer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
SUPERTYPE P Producer<T?>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
EQUAL P Producer<T?>
|
||||
|
||||
type parameter bounds:
|
||||
T <: Int, <: 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 T Int
|
||||
EQUAL P Producer<T?>
|
||||
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
SUBTYPE P Producer<T?>
|
||||
Vendored
+23
@@ -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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
SUPERTYPE P Producer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
EQUAL P Producer<T?>
|
||||
Vendored
+23
@@ -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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
SUBTYPE P Producer<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
SUPERTYPE P Producer<T?>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
EQUAL P My<T?>
|
||||
|
||||
type parameter bounds:
|
||||
T := Int, >: Int, <: 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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
EQUAL P My<T?>
|
||||
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
SUBTYPE P My<T?>
|
||||
Vendored
+23
@@ -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?>
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
EQUAL T Int
|
||||
SUPERTYPE P My<T?>
|
||||
+23
@@ -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: true
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasTypeInferenceIncorporationError: true
|
||||
-hasUnknownParameters: true
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: false
|
||||
|
||||
result:
|
||||
T=Int
|
||||
P=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
EQUAL P My<T?>
|
||||
+23
@@ -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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
SUBTYPE P My<T?>
|
||||
Vendored
+23
@@ -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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE T Int
|
||||
SUPERTYPE P My<T?>
|
||||
Vendored
+23
@@ -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: true
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasTypeInferenceIncorporationError: true
|
||||
-hasUnknownParameters: true
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: false
|
||||
|
||||
result:
|
||||
T=Int
|
||||
P=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
EQUAL P My<T?>
|
||||
Vendored
+23
@@ -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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
SUBTYPE P My<T?>
|
||||
Vendored
+23
@@ -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=???
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUPERTYPE T Int
|
||||
SUPERTYPE P My<T?>
|
||||
Reference in New Issue
Block a user