summaryrefslogtreecommitdiff
path: root/Test/dafny1/ExtensibleArray.dfy
diff options
context:
space:
mode:
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 == [];