Added more tests on incorporation
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE Int T
|
||||
SUBTYPE P Producer<Consumer<Producer<T>>>
|
||||
|
||||
type parameter bounds:
|
||||
T >: Int
|
||||
P <: Producer<Consumer<Producer<T>>>*, <: Producer<Consumer<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<Consumer<Producer<Int>>>
|
||||
Reference in New Issue
Block a user