From 3e8220fc73ec5c4ea78cd2cb3d29831ec60500a4 Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Wed, 11 Nov 2020 12:16:50 +0100 Subject: [PATCH] avoid (e)apply in wp_expr_eval --- theories/heap_lang/proofmode.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theories/heap_lang/proofmode.v b/theories/heap_lang/proofmode.v index 39f21d758..6eaf109e1 100644 --- a/theories/heap_lang/proofmode.v +++ b/theories/heap_lang/proofmode.v @@ -19,11 +19,11 @@ Tactic Notation "wp_expr_eval" tactic3(t) := iStartProof; lazymatch goal with | |- envs_entails _ (wp ?s ?E ?e ?Q) => - eapply tac_wp_expr_eval; - [let x := fresh in intros x; t; unfold x; reflexivity|] + notypeclasses refine (tac_wp_expr_eval _ _ _ _ e _ _ _); + [let x := fresh in intros x; t; unfold x; notypeclasses refine eq_refl|] | |- envs_entails _ (twp ?s ?E ?e ?Q) => - eapply tac_twp_expr_eval; - [let x := fresh in intros x; t; unfold x; reflexivity|] + notypeclasses refine (tac_twp_expr_eval _ _ _ _ e _ _ _); + [let x := fresh in intros x; t; unfold x; notypeclasses refine eq_refl|] | _ => fail "wp_expr_eval: not a 'wp'" end. -- GitLab