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,13 +1,13 @@
VARIABLES T P E
SUBTYPE Int T
SUBTYPE P String
SUBTYPE E Fun<T, P>
Int <: T
P <: String
E <: Fun<T, P>
type parameter bounds:
T >: Int
P <: String
E <: Fun<T, [ERROR : No type element]>*, <: Fun<Int, [ERROR : No type element]>
E <: Fun<T, P>*, <: Fun<Int, P>*, <: Fun<Int, String>, <: Fun<T, String>*
status:
-hasCannotCaptureTypesError: false
@@ -23,4 +23,4 @@ status:
result:
T=Int
P=String
E=Fun<Int, [ERROR : No type element]>
E=Fun<Int, String>