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

Fix issue #259.

Based on @Blaisorblade's suggestion.
parent 2dc1c367
No related branches found
No related tags found
No related merge requests found
......@@ -573,6 +573,7 @@ Local Tactic Notation "iForallRevert" ident(x) :=
| context [x] => fail 2 "iRevert:" x "is used in hypothesis" H
end) in
iStartProof;
first [let _ := type of x in idtac|fail 1 "iRevert:" x "not in scope"];
let A := type of x in
lazymatch type of A with
| Prop => revert x; first [apply tac_pure_revert|err x]
......
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