summaryrefslogtreecommitdiff
path: root/Test/dafny0
diff options
context:
space:
mode:
authorGravatar Nadia Polikarpova <nadia.polikarpova@gmail.com>2013-02-08 15:33:23 +0100
committerGravatar Nadia Polikarpova <nadia.polikarpova@gmail.com>2013-02-08 15:33:23 +0100
commit6a73bfff8499eb7a128de01c20488a9f53e397c7 (patch)
tree1958510741be38d9972453b2ad42ab265270fb43 /Test/dafny0
parentbc0e2a5f6ef893c549c3a244faa17e7f235a2de0 (diff)
Changed calc syntax (custom operators are now written before the hint)
Diffstat (limited to 'Test/dafny0')
-rw-r--r--Test/dafny0/Calculations.dfy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny0/Calculations.dfy b/Test/dafny0/Calculations.dfy
index 9e44f62e..80775896 100644
--- a/Test/dafny0/Calculations.dfy
+++ b/Test/dafny0/Calculations.dfy
@@ -12,8 +12,8 @@ method CalcTest0(s: seq<int>) {
if (|s| > 0) {
calc {
s[0]; // OK: well-formed in this context
- { assert s[0] == s[0]; }
- <= s[0];
+ <= { assert s[0] == s[0]; }
+ s[0];
}
}
}