Skip to content
Snippets Groups Projects
Commit 19af143a authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Better error message when iApply fails.

The error message accidentally got removed in e0789039.
parent 2cd0ddf0
No related branches found
No related tags found
No related merge requests found
...@@ -430,7 +430,8 @@ Tactic Notation "iApply" open_constr(lem) := ...@@ -430,7 +430,8 @@ Tactic Notation "iApply" open_constr(lem) :=
[iExact H [iExact H
|eapply tac_apply with _ H _ _ _; |eapply tac_apply with _ H _ _ _;
[env_cbv; reflexivity [env_cbv; reflexivity
|apply _ |let P := match goal with |- IntoWand ?P _ _ => P end in
apply _ || fail 1 "iApply: cannot apply" P
|lazy beta (* reduce betas created by instantiation *)]]). |lazy beta (* reduce betas created by instantiation *)]]).
(** * Revert *) (** * Revert *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment