From 6a73bfff8499eb7a128de01c20488a9f53e397c7 Mon Sep 17 00:00:00 2001 From: Nadia Polikarpova Date: Fri, 8 Feb 2013 15:33:23 +0100 Subject: Changed calc syntax (custom operators are now written before the hint) --- Test/dafny0/Calculations.dfy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Test/dafny0') 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) { 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]; } } } -- cgit v1.2.3