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,7 +1,7 @@
VARIABLES T
SUBTYPE T Int
SUPERTYPE T String
T <: Int
T >: String
type parameter bounds:
T <: Int, >: String
@@ -1,4 +1,4 @@
VARIABLES T
SUBTYPE T Int
SUPERTYPE T String
T <: Int
T >: String
@@ -1,7 +1,7 @@
VARIABLES T
SUBTYPE T Int
SUPERTYPE T Int
T <: Int
T >: Int
type parameter bounds:
T <: Int, >: Int
@@ -1,4 +1,4 @@
VARIABLES T
SUBTYPE T Int
SUPERTYPE T Int
T <: Int
T >: Int
@@ -1,6 +1,6 @@
VARIABLES T
SUBTYPE List<T> Int
List<T> <: Int
type parameter bounds:
T
@@ -1,3 +1,3 @@
VARIABLES T
SUBTYPE List<T> Int
List<T> <: Int
@@ -1,6 +1,6 @@
VARIABLES T
SUBTYPE Any Any
Any <: Any
type parameter bounds:
T
@@ -1,3 +1,3 @@
VARIABLES T
SUBTYPE Any Any
Any <: Any
@@ -1,21 +0,0 @@
VARIABLES T
SUBTYPE T Int
SUBTYPE T String weak
type parameter bounds:
T <: Int, <: String
status:
-hasCannotCaptureTypesError: false
-hasConflictingConstraints: true
-hasContradiction: true
-hasErrorInConstrainingTypes: false
-hasParameterConstraintError: false
-hasTypeInferenceIncorporationError: false
-hasUnknownParameters: false
-hasViolatedUpperBound: true
-isSuccessful: false
result:
T=???
@@ -1,4 +0,0 @@
VARIABLES T
SUBTYPE T Int
SUBTYPE T String weak