summaryrefslogtreecommitdiff
path: root/Test/dafny1/ListContents.dfy
diff options
context:
space:
mode:
authorGravatar Aleksandar Milicevic <unknown>2011-08-10 16:38:26 -0700
committerGravatar Aleksandar Milicevic <unknown>2011-08-10 16:38:26 -0700
commit5ad331f94647b4fac965992d9231abc9a4220946 (patch)
tree8809418caa866d1a0e871ade5ff507100badfec7 /Test/dafny1/ListContents.dfy
parent927dd329ff0bd6e80580746316c9f27b588512c9 (diff)
Jennisys: started to work on synthesizing some methods. So far, only
infrastructural things have been implemented, like handling return parameters, generating different "fresh" spec for methods than for constructors, adding "Valid()" to method preconditions.
Diffstat (limited to 'Test/dafny1/ListContents.dfy')
-rw-r--r--Test/dafny1/ListContents.dfy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/dafny1/ListContents.dfy b/Test/dafny1/ListContents.dfy
index f672950b..069ffbde 100644
--- a/Test/dafny1/ListContents.dfy
+++ b/Test/dafny1/ListContents.dfy
@@ -48,7 +48,7 @@ class Node<T> {
r.footprint := {r} + this.footprint;
r.list := [r.data] + this.list;
}
-
+
method ReverseInPlace() returns (reverse: Node<T>)
requires Valid();
modifies footprint;