summaryrefslogtreecommitdiff
path: root/Test/dafny0/EqualityTypes.dfy.expect
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2014-07-14 19:14:30 -0700
committerGravatar Rustan Leino <unknown>2014-07-14 19:14:30 -0700
commitfda7a92b1f8f2b1fd360aa2b52aa3ddb3c705127 (patch)
tree2d9b0bbbfbdd4f73d5d2ba617ce9c78fec8107e0 /Test/dafny0/EqualityTypes.dfy.expect
parent8041bef009e34bb3c5e81ffe7b906ae4347e85d3 (diff)
Support for type synonyms in refinements
Started allowing arbitrary types to have type parameters
Diffstat (limited to 'Test/dafny0/EqualityTypes.dfy.expect')
-rw-r--r--Test/dafny0/EqualityTypes.dfy.expect10
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/dafny0/EqualityTypes.dfy.expect b/Test/dafny0/EqualityTypes.dfy.expect
index 186c53be..fde9aadf 100644
--- a/Test/dafny0/EqualityTypes.dfy.expect
+++ b/Test/dafny0/EqualityTypes.dfy.expect
@@ -1,9 +1,9 @@
EqualityTypes.dfy(34,13): Error: a type declaration that requires equality support cannot be replaced by a codatatype
-EqualityTypes.dfy(35,11): Error: datatype 'Y' is used to refine an arbitrary type with equality support, but 'Y' does not support equality
-EqualityTypes.dfy(40,11): Error: arbitrary type 'X' is not allowed to be replaced by a datatype that takes a different number of type parameters
-EqualityTypes.dfy(41,8): Error: arbitrary type 'Y' is not allowed to be replaced by a class that takes a different number of type parameters
-EqualityTypes.dfy(45,11): Error: datatype 'X' is used to refine an arbitrary type with equality support, but 'X' does not support equality
-EqualityTypes.dfy(46,11): Error: datatype 'Y' is used to refine an arbitrary type with equality support, but 'Y' does not support equality
+EqualityTypes.dfy(35,11): Error: type 'Y' is used to refine an arbitrary type with equality support, but 'Y' does not support equality
+EqualityTypes.dfy(40,11): Error: arbitrary type 'X' is not allowed to be replaced by a type that takes a different number of type parameters (got 1, expected 0)
+EqualityTypes.dfy(41,8): Error: arbitrary type 'Y' is not allowed to be replaced by a class that takes a different number of type parameters (got 1, expected 0)
+EqualityTypes.dfy(45,11): Error: type 'X' is used to refine an arbitrary type with equality support, but 'X' does not support equality
+EqualityTypes.dfy(46,11): Error: type 'Y' is used to refine an arbitrary type with equality support, but 'Y' does not support equality
EqualityTypes.dfy(66,7): Error: == can only be applied to expressions of types that support equality (got Dt<T>)
EqualityTypes.dfy(85,8): Error: type parameter 0 (T) passed to method M must support equality (got _T0)
EqualityTypes.dfy(109,7): Error: == can only be applied to expressions of types that support equality (got D)