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

Fix issue #259.

Based on @Blaisorblade's suggestion.
parent 2dc1c367
......@@ -573,6 +573,7 @@ Local Tactic Notation "iForallRevert" ident(x) :=
| context [x] => fail 2 "iRevert:" x "is used in hypothesis" H
end) in
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]
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