summaryrefslogtreecommitdiff
path: root/Test/dafny1
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2013-01-23 18:20:15 -0800
committerGravatar Rustan Leino <unknown>2013-01-23 18:20:15 -0800
commit04c8cca7653c2952df11ada7ecd39069388fa5f1 (patch)
tree5d747bc2fa7eba212cebfe95c1930591b1e4450b /Test/dafny1
parent323ef22b89add46d8178bd51b06f05e8a750f4dd (diff)
Fixed another specification bug in a test case.
Diffstat (limited to 'Test/dafny1')
-rw-r--r--Test/dafny1/ExtensibleArrayAuto.dfy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/dafny1/ExtensibleArrayAuto.dfy b/Test/dafny1/ExtensibleArrayAuto.dfy
index 3e91fa4b..a3c5593c 100644
--- a/Test/dafny1/ExtensibleArrayAuto.dfy
+++ b/Test/dafny1/ExtensibleArrayAuto.dfy
@@ -70,7 +70,7 @@ class {:autocontracts} ExtensibleArray<T> {
method Append(t: T)
ensures Contents == old(Contents) + [t];
- decreases Repr;
+ decreases Contents;
{
if (length == 0 || length % 256 != 0) {
// there is room in "elements"