summaryrefslogtreecommitdiff
path: root/Test/dafny1/ExtensibleArray.dfy
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
commit2514560c58c60fa79850d12aee4cf2afeaedc5f5 (patch)
tree7fb257e36b0aa2db0d276e50e9efc34dfb016514 /Test/dafny1/ExtensibleArray.dfy
parent8f65d1f0ba1397b57feb11256c0dc344fee465af (diff)
Dafny: beautification in one test case, and fixed an Answer file
Diffstat (limited to 'Test/dafny1/ExtensibleArray.dfy')
-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 == [];