Changed the way the constraints are written in tests

SUBTYPE T Int -> T <: Int
This commit is contained in:
Svetlana Isakova
2015-07-13 20:36:24 +03:00
parent d32ba08cb7
commit b162a65e85
254 changed files with 541 additions and 574 deletions
@@ -1,8 +1,8 @@
VARIABLES T P E
SUBTYPE T Producer<P>
SUBTYPE P Producer<E>
SUBTYPE E Producer<P>
T <: Producer<P>
P <: Producer<E>
E <: Producer<P>
type parameter bounds:
T <: Producer<P>*, <: Producer<Producer<E>>*, <: Producer<Producer<Producer<P>>>*
@@ -1,5 +1,5 @@
VARIABLES T P E
SUBTYPE T Producer<P>
SUBTYPE P Producer<E>
SUBTYPE E Producer<P>
T <: Producer<P>
P <: Producer<E>
E <: Producer<P>
@@ -1,7 +1,7 @@
VARIABLES T P
EQUAL T My<P>
EQUAL P Two<T,P>
T := My<P>
P := Two<T,P>
type parameter bounds:
T := My<P>*
@@ -1,4 +1,4 @@
VARIABLES T P
EQUAL T My<P>
EQUAL P Two<T,P>
T := My<P>
P := Two<T,P>
@@ -1,7 +1,7 @@
VARIABLES T
EQUAL T Int
EQUAL T My<T>
T := Int
T := My<T>
type parameter bounds:
T := Int, := My<T>*, := My<Int>
@@ -1,4 +1,4 @@
VARIABLES T
EQUAL T Int
EQUAL T My<T>
T := Int
T := My<T>