summaryrefslogtreecommitdiff
path: root/Test/dafny1
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2011-09-29 18:33:58 -0700
committerGravatar Rustan Leino <leino@microsoft.com>2011-09-29 18:33:58 -0700
commit07724e64a35d55a9e10547993ca1c9c9dbb1ed84 (patch)
tree8e59c000beb85846d89ccfed5c5e0697b6651674 /Test/dafny1
parent798f759a72fde770efc228ccbd7b79e129eb7484 (diff)
Dafny: beautification in one test case, and fixed an Answer file
Diffstat (limited to 'Test/dafny1')
-rw-r--r--Test/dafny1/ExtensibleArray.dfy2
1 files changed, 1 insertions, 1 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 == [];