summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Test/dafny1/ExtensibleArray.dfy2
-rw-r--r--Test/dafny2/Answer2
2 files changed, 1 insertions, 3 deletions
diff --git a/Test/dafny1/ExtensibleArray.dfy b/Test/dafny1/ExtensibleArray.dfy
index 2dc49cd9..405f3e15 100644
--- a/Test/dafny1/ExtensibleArray.dfy
+++ b/Test/dafny1/ExtensibleArray.dfy
@@ -34,7 +34,7 @@ class ExtensibleArray<T> {
(forall i :: M <= i && i < length ==> Contents[i] == elements[i - M])
}
- method Init()
+ constructor Init()
modifies this;
ensures Valid() && fresh(Repr - {this});
ensures Contents == [];
diff --git a/Test/dafny2/Answer b/Test/dafny2/Answer
index bef70cf1..d052c463 100644
--- a/Test/dafny2/Answer
+++ b/Test/dafny2/Answer
@@ -1,10 +1,8 @@
-------------------- SnapshotableTrees.dfy --------------------
-Dafny program verifier version 2.2.30705.1126, Copyright (c) 2003-2011, Microsoft.
Dafny program verifier finished with 37 verified, 0 errors
-------------------- TreeBarrier.dfy --------------------
-Dafny program verifier version 2.2.30705.1126, Copyright (c) 2003-2011, Microsoft.
Dafny program verifier finished with 8 verified, 0 errors