aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tactics/tacticals.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/tacticals.ml b/tactics/tacticals.ml
index 3d51623eaa..46145d1116 100644
--- a/tactics/tacticals.ml
+++ b/tactics/tacticals.ml
@@ -590,8 +590,8 @@ module New = struct
let onHyps find tac = Proofview.Goal.nf_enter { enter = begin fun gl -> tac (find.enter gl) end }
let afterHyp id tac =
- Proofview.Goal.nf_enter { enter = begin fun gl ->
- let hyps = Proofview.Goal.hyps gl in
+ Proofview.Goal.enter { enter = begin fun gl ->
+ let hyps = Proofview.Goal.hyps (Proofview.Goal.assume gl) in
let rem, _ = List.split_when (Id.equal id % get_id) hyps in
tac rem
end }