summaryrefslogtreecommitdiff
path: root/Test/dafny1/TerminationDemos.dfy
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2011-05-26 00:02:57 -0700
committerGravatar Rustan Leino <leino@microsoft.com>2011-05-26 00:02:57 -0700
commita7731599b7ab802c7c47e5ccf33e21953a238c2d (patch)
treeaf68f595ddddfc2195487f90754080635038fe24 /Test/dafny1/TerminationDemos.dfy
parentdaba6b774c3f945de58229f28078e8dccaaec782 (diff)
Dafny: retired the "call" keyword
Diffstat (limited to 'Test/dafny1/TerminationDemos.dfy')
-rw-r--r--Test/dafny1/TerminationDemos.dfy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/dafny1/TerminationDemos.dfy b/Test/dafny1/TerminationDemos.dfy
index 49f5a075..0aa36a10 100644
--- a/Test/dafny1/TerminationDemos.dfy
+++ b/Test/dafny1/TerminationDemos.dfy
@@ -58,10 +58,10 @@ class Ackermann {
if (m == 0) {
r := n + 1;
} else if (n == 0) {
- call r := ComputeAck(m - 1, 1);
+ r := ComputeAck(m - 1, 1);
} else {
- call s := ComputeAck(m, n - 1);
- call r := ComputeAck(m - 1, s);
+ var s := ComputeAck(m, n - 1);
+ r := ComputeAck(m - 1, s);
}
}
}