Capture types only on the top level
This commit is contained in:
@@ -5,6 +5,7 @@ SUBTYPE Consumer<A> Consumer<T>
|
||||
type parameter bounds:
|
||||
T <: A(SPECIAL)
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE My<T> My<A>
|
||||
type parameter bounds:
|
||||
T := A(SPECIAL)
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
|
||||
@@ -5,6 +5,7 @@ SUBTYPE Producer<A> Producer<T>
|
||||
type parameter bounds:
|
||||
T >: A(SPECIAL)
|
||||
status:
|
||||
-hasCannotCaptureTypesError: false
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
-hasErrorInConstrainingTypes: false
|
||||
|
||||
Reference in New Issue
Block a user