Commit 272535e4 authored by Robbert Krebbers's avatar Robbert Krebbers

Better error message for iAlways.

parent 83184356
......@@ -778,7 +778,8 @@ Local Tactic Notation "iExistDestruct" constr(H)
(** * Always *)
Tactic Notation "iAlways":=
iStartProof;
apply tac_always_intro; env_cbv.
apply tac_always_intro; env_cbv
|| fail "iAlways: the goal is not an always modality".
(** * Later *)
Tactic Notation "iNext" open_constr(n) :=
......
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