diff options
author | 2012-08-29 18:11:49 -0700 | |
---|---|---|
committer | 2012-08-29 18:11:49 -0700 | |
commit | dce966347df8c56502145cf681a8df4d3a2d9e7b (patch) | |
tree | 1f10814d8a859f1952e4aa3450cf8de34ce50df5 /Test/dafny0/Answer | |
parent | b6f22568f1883351ea478c711d84548878870af8 (diff) |
Dafny: fixed bug in checking postconditions of functions that mention the result the function itself
Diffstat (limited to 'Test/dafny0/Answer')
-rw-r--r-- | Test/dafny0/Answer | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Test/dafny0/Answer b/Test/dafny0/Answer index f9b2c66e..ac5e6be5 100644 --- a/Test/dafny0/Answer +++ b/Test/dafny0/Answer @@ -486,8 +486,12 @@ Execution trace: (0,0): anon0
(0,0): anon9_Then
(0,0): anon3
+FunctionSpecifications.dfy(56,10): Error BP5003: A postcondition might not hold on this return path.
+FunctionSpecifications.dfy(57,22): Related location: This is the postcondition that might not hold.
+Execution trace:
+ (0,0): anon5_Else
-Dafny program verifier finished with 3 verified, 3 errors
+Dafny program verifier finished with 3 verified, 4 errors
-------------------- ResolutionErrors.dfy --------------------
ResolutionErrors.dfy(48,13): Error: 'this' is not allowed in a 'static' context
|