summaryrefslogtreecommitdiff
path: root/Test/dafny0/Trait/TraitsDecreases.dfy.expect
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2015-07-07 15:27:58 -0700
committerGravatar Rustan Leino <unknown>2015-07-07 15:27:58 -0700
commitf235dfbc792bb885f3c76e4267658c1a9ef838d8 (patch)
tree3bab8cd7af82026d47a2b113497766db5b080545 /Test/dafny0/Trait/TraitsDecreases.dfy.expect
parentf177d7dc96b27f5ca3b777d31fcd9bad26be6ce5 (diff)
Fixed crashes in overrides checking of function decreases clauses, and improved the error message reported to users
Diffstat (limited to 'Test/dafny0/Trait/TraitsDecreases.dfy.expect')
-rw-r--r--Test/dafny0/Trait/TraitsDecreases.dfy.expect20
1 files changed, 19 insertions, 1 deletions
diff --git a/Test/dafny0/Trait/TraitsDecreases.dfy.expect b/Test/dafny0/Trait/TraitsDecreases.dfy.expect
index 6c76f9a8..2607a0c6 100644
--- a/Test/dafny0/Trait/TraitsDecreases.dfy.expect
+++ b/Test/dafny0/Trait/TraitsDecreases.dfy.expect
@@ -1,3 +1,21 @@
+TraitsDecreases.dfy(117,15): Error: predicate's decreases clause must be below or equal to that in the trait
+Execution trace:
+ (0,0): anon0
+TraitsDecreases.dfy(124,15): Error: predicate's decreases clause must be below or equal to that in the trait
+Execution trace:
+ (0,0): anon0
+TraitsDecreases.dfy(131,15): Error: predicate's decreases clause must be below or equal to that in the trait
+Execution trace:
+ (0,0): anon0
+TraitsDecreases.dfy(138,15): Error: predicate's decreases clause must be below or equal to that in the trait
+Execution trace:
+ (0,0): anon0
+TraitsDecreases.dfy(145,15): Error: predicate's decreases clause must be below or equal to that in the trait
+Execution trace:
+ (0,0): anon0
+TraitsDecreases.dfy(152,12): Error: method's decreases clause must be below or equal to that in the trait
+Execution trace:
+ (0,0): anon0
TraitsDecreases.dfy(57,10): Error: method's decreases clause must be below or equal to that in the trait
Execution trace:
(0,0): anon0
@@ -14,4 +32,4 @@ TraitsDecreases.dfy(88,10): Error: method's decreases clause must be below or eq
Execution trace:
(0,0): anon0
-Dafny program verifier finished with 63 verified, 5 errors
+Dafny program verifier finished with 75 verified, 11 errors