Incorporation tests
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
VARIABLES T P
|
||||
|
||||
SUBTYPE Int T
|
||||
EQUAL T P
|
||||
|
||||
type parameter bounds:
|
||||
T >: Int, := P*
|
||||
P >: Int, := T*
|
||||
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
-hasTypeConstructorMismatch: false
|
||||
-hasTypeInferenceIncorporationError: false
|
||||
-hasUnknownParameters: false
|
||||
-hasViolatedUpperBound: false
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=Int
|
||||
P=Int
|
||||
Reference in New Issue
Block a user