Added tests for incorporation with nullable type parameter
This commit is contained in:
+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?>
|
||||
Reference in New Issue
Block a user