b162a65e85
SUBTYPE T Int -> T <: Int
24 lines
435 B
Plaintext
Vendored
24 lines
435 B
Plaintext
Vendored
VARIABLES T P
|
|
|
|
T := Int
|
|
P := My<T?>
|
|
|
|
type parameter bounds:
|
|
T := Int, >: Int, <: Int?
|
|
P := My<T?>*, := My<Int?>
|
|
|
|
status:
|
|
-hasCannotCaptureTypesError: false
|
|
-hasConflictingConstraints: false
|
|
-hasContradiction: false
|
|
-hasErrorInConstrainingTypes: false
|
|
-hasParameterConstraintError: false
|
|
-hasTypeInferenceIncorporationError: false
|
|
-hasUnknownParameters: false
|
|
-hasViolatedUpperBound: false
|
|
-isSuccessful: true
|
|
|
|
result:
|
|
T=Int
|
|
P=My<Int?>
|