Commit bf73b3b9 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Make iDestruct/iMod/... perform an `iStartProof` to get better error messages.

parent 24ea529a
......@@ -1274,6 +1274,7 @@ Tactic Notation "iDestructCore" open_constr(lem) "as" constr(p) tactic(tac) :=
Also, rule out cases in which it does not make sense to copy, namely when
destructing a lemma (instead of a hypothesis) or a spatial hyopthesis
(which cannot be kept). *)
iStartProof;
lazymatch ident with
| None => iPoseProofCore lem as p false tac
| Some ?H =>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment