Changed the way the constraints are written in tests
SUBTYPE T Int -> T <: Int
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE Consumer<A> Consumer<T>
|
||||
Consumer<A> <: Consumer<T>
|
||||
|
||||
type parameter bounds:
|
||||
T <: A
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE Consumer<A> Consumer<T>
|
||||
Consumer<A> <: Consumer<T>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE My<T> My<A>
|
||||
My<T> <: My<A>
|
||||
|
||||
type parameter bounds:
|
||||
T := A
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE My<T> My<A>
|
||||
My<T> <: My<A>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE Producer<A> Producer<T>
|
||||
Producer<A> <: Producer<T>
|
||||
|
||||
type parameter bounds:
|
||||
T >: A
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
VARIABLES T
|
||||
|
||||
SUBTYPE Producer<A> Producer<T>
|
||||
Producer<A> <: Producer<T>
|
||||
|
||||
Reference in New Issue
Block a user