From 736969063f99babb854a2ac7c2c2b0d11a8fc253 Mon Sep 17 00:00:00 2001 From: leino Date: Sat, 24 Oct 2015 17:43:46 -0700 Subject: In method and iterator specifications, inline top-level predicates (except protected predicated in cross-module calls) like in other places. --- Test/dafny0/TriggerInPredicate.dfy.expect | 1 + Test/dafny2/SnapshotableTrees.dfy.expect | 9 ++++++++- Test/triggers/triggers-prevent-some-inlining.dfy.expect | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) (limited to 'Test') diff --git a/Test/dafny0/TriggerInPredicate.dfy.expect b/Test/dafny0/TriggerInPredicate.dfy.expect index b3fb9cc0..b3d4ff34 100644 --- a/Test/dafny0/TriggerInPredicate.dfy.expect +++ b/Test/dafny0/TriggerInPredicate.dfy.expect @@ -2,5 +2,6 @@ TriggerInPredicate.dfy(6,32): Info: Not generating triggers for "A(x, y)". TriggerInPredicate.dfy(6,32): Info: Not generating triggers for "z". TriggerInPredicate.dfy(9,20): Info: Some instances of this call cannot safely be inlined. TriggerInPredicate.dfy(9,20): Info: Some instances of this call cannot safely be inlined. +TriggerInPredicate.dfy(9,20): Info: Some instances of this call cannot safely be inlined. Dafny program verifier finished with 8 verified, 0 errors diff --git a/Test/dafny2/SnapshotableTrees.dfy.expect b/Test/dafny2/SnapshotableTrees.dfy.expect index 808fe0f9..68b4ff73 100644 --- a/Test/dafny2/SnapshotableTrees.dfy.expect +++ b/Test/dafny2/SnapshotableTrees.dfy.expect @@ -1,8 +1,15 @@ SnapshotableTrees.dfy(68,23): Error BP5002: A precondition for this call might not hold. SnapshotableTrees.dfy(648,15): Related location: This is the precondition that might not hold. +SnapshotableTrees.dfy(545,15): Related location +Execution trace: + (0,0): anon0 + (0,0): anon3_Then +SnapshotableTrees.dfy(68,23): Error BP5002: A precondition for this call might not hold. +SnapshotableTrees.dfy(648,15): Related location: This is the precondition that might not hold. +SnapshotableTrees.dfy(548,18): Related location Execution trace: (0,0): anon0 (0,0): anon3_Then -Dafny program verifier finished with 65 verified, 1 error +Dafny program verifier finished with 65 verified, 2 errors Compiled assembly into SnapshotableTrees.exe diff --git a/Test/triggers/triggers-prevent-some-inlining.dfy.expect b/Test/triggers/triggers-prevent-some-inlining.dfy.expect index 4c24893e..0b6f3e30 100644 --- a/Test/triggers/triggers-prevent-some-inlining.dfy.expect +++ b/Test/triggers/triggers-prevent-some-inlining.dfy.expect @@ -3,5 +3,7 @@ triggers-prevent-some-inlining.dfy(24,10): Info: Some instances of this call can triggers-prevent-some-inlining.dfy(25,10): Info: Some instances of this call cannot safely be inlined. triggers-prevent-some-inlining.dfy(24,10): Info: Some instances of this call cannot safely be inlined. triggers-prevent-some-inlining.dfy(25,10): Info: Some instances of this call cannot safely be inlined. +triggers-prevent-some-inlining.dfy(24,10): Info: Some instances of this call cannot safely be inlined. +triggers-prevent-some-inlining.dfy(25,10): Info: Some instances of this call cannot safely be inlined. Dafny program verifier finished with 4 verified, 0 errors -- cgit v1.2.3