From 4f0b823bdc1be13c2589cc46f650ab57d29e7117 Mon Sep 17 00:00:00 2001 From: qunyanm Date: Thu, 4 Feb 2016 12:35:46 -0800 Subject: Fix issue 128. Change the translation of CanCallAssumption for let-such-that expression from // CanCall[[ var b :| RHS(b,g); Body(b,g,h) ]] = // (forall b0,b1 :: typeAntecedent ==> // CanCall[[ RHS(b,g) ]] && // (RHS(b,g) ==> CanCall[[ Body(b,g,h) ]]) && // $let$canCall(b,g)) to // CanCall[[ var b0,b1 :| RHS(b0,b1,g); Body(b0,b1,g,h) ]] = // $let$canCall(g) && // CanCall[[ Body($let$b0(g), $let$b1(g), h) ]] --- Test/dafny4/Bug128.dfy.expect | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Test/dafny4/Bug128.dfy.expect (limited to 'Test/dafny4/Bug128.dfy.expect') diff --git a/Test/dafny4/Bug128.dfy.expect b/Test/dafny4/Bug128.dfy.expect new file mode 100644 index 00000000..700ad964 --- /dev/null +++ b/Test/dafny4/Bug128.dfy.expect @@ -0,0 +1,4 @@ +Prover warning: pattern does not contain all quantified variables. +Prover warning: pattern does not contain all quantified variables. + +Dafny program verifier finished with 1 verified, 0 errors -- cgit v1.2.3 From d3063bebb513c36edcfd035b62308a917e4deecc Mon Sep 17 00:00:00 2001 From: qunyanm Date: Fri, 12 Feb 2016 19:16:15 -0800 Subject: Update the test's .expect file since the fix is merged into boogie. --- Test/dafny4/Bug128.dfy.expect | 2 -- 1 file changed, 2 deletions(-) (limited to 'Test/dafny4/Bug128.dfy.expect') diff --git a/Test/dafny4/Bug128.dfy.expect b/Test/dafny4/Bug128.dfy.expect index 700ad964..c0c48e2b 100644 --- a/Test/dafny4/Bug128.dfy.expect +++ b/Test/dafny4/Bug128.dfy.expect @@ -1,4 +1,2 @@ -Prover warning: pattern does not contain all quantified variables. -Prover warning: pattern does not contain all quantified variables. Dafny program verifier finished with 1 verified, 0 errors -- cgit v1.2.3