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