summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2014-11-03 13:05:04 -0800
committerGravatar Rustan Leino <unknown>2014-11-03 13:05:04 -0800
commit62abed579e970785ad43041c63dca38eb9206906 (patch)
tree6b4f1675b6bb8b32353f6640b843237fb394d4e0 /Source
parent50d02a2fd7f19664bdde27f698d5ff061472118d (diff)
Updated a test case for new syntax and convensions
Diffstat (limited to 'Source')
-rw-r--r--Source/Dafny/Translator.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Dafny/Translator.cs b/Source/Dafny/Translator.cs
index 76da73cd..48cc6976 100644
--- a/Source/Dafny/Translator.cs
+++ b/Source/Dafny/Translator.cs
@@ -8263,6 +8263,7 @@ namespace Microsoft.Dafny {
types.Add(e.Type.NormalizeExpand());
decrs.Add(etran.TrExpr(e));
}
+ AddComment(loopBodyBuilder, s, "loop termination check");
Bpl.Expr decrCheck = DecreasesCheck(toks, types, types, decrs, oldBfs, loopBodyBuilder, " at end of loop iteration", false, false);
string msg;
if (s.InferredDecreases) {