summaryrefslogtreecommitdiff
path: root/Test/dafny0/TypeTests.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/dafny0/TypeTests.dfy
parentdaba6b774c3f945de58229f28078e8dccaaec782 (diff)
Dafny: retired the "call" keyword
Diffstat (limited to 'Test/dafny0/TypeTests.dfy')
-rw-r--r--Test/dafny0/TypeTests.dfy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny0/TypeTests.dfy b/Test/dafny0/TypeTests.dfy
index 7deeb0a1..21f0dda8 100644
--- a/Test/dafny0/TypeTests.dfy
+++ b/Test/dafny0/TypeTests.dfy
@@ -8,8 +8,8 @@ class C {
method Caller()
{
- call m,n := M(true); // error on in-parameter
- call n,m := M(m); // 2 errors on out-parameters
+ var m,n := M(true); // error on in-parameter
+ n,m := M(m); // 2 errors on out-parameters
}
}