summaryrefslogtreecommitdiff
path: root/Test/dafny0/CoResolution.dfy
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2014-02-23 21:39:57 -0800
committerGravatar Rustan Leino <unknown>2014-02-23 21:39:57 -0800
commit297f9d4f1b409b2204b536f8393db3f6ccec18e2 (patch)
tree36a23fdbd252203ed66afe8781fdc1781ce87517 /Test/dafny0/CoResolution.dfy
parentc09533b5979a46e8fbb5944e00d26b55594c9d3e (diff)
Fixed some checking of recursive method/copredicate calls
Diffstat (limited to 'Test/dafny0/CoResolution.dfy')
-rw-r--r--Test/dafny0/CoResolution.dfy8
1 files changed, 4 insertions, 4 deletions
diff --git a/Test/dafny0/CoResolution.dfy b/Test/dafny0/CoResolution.dfy
index a7111a09..bf224f25 100644
--- a/Test/dafny0/CoResolution.dfy
+++ b/Test/dafny0/CoResolution.dfy
@@ -109,13 +109,13 @@ module CallGraph {
copredicate Q(n: nat)
{
- calc { 87; { CoLemma(n); } }
+ calc { 87; { CoLemma(n); } } // error: this recursive call not allowed
false
}
copredicate R(n: nat)
{
- calc { 87; { CoLemma#[n](n); } }
+ calc { 87; { CoLemma#[n](n); } } // error: this recursive call not allowed
false
}
@@ -129,13 +129,13 @@ module CallGraph {
copredicate Q_D(n: nat)
{
- calc { 88; { CoLemma_D(n); } }
+ calc { 88; { CoLemma_D(n); } } // error: this recursive call not allowed
false
}
copredicate R_D(n: nat)
{
- calc { 89; { CoLemma_D#[n](n); } }
+ calc { 89; { CoLemma_D#[n](n); } } // error: this recursive call not allowed
false
}