diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-04-23 14:22:42 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-04-23 14:54:29 +0200 |
commit | 915c8f15965fe8e7ee9d02a663fd890ef80539ad (patch) | |
tree | fb99ec9a2cbc7f4ee9a5f59656816fa3d34c6e3a /tactics/extratactics.ml4 | |
parent | 0a2dfa5e5d17ccf58328432888dff345ef0bf5e6 (diff) |
Using tclZEROMSG instead of tclZERO in several places.
Diffstat (limited to 'tactics/extratactics.ml4')
-rw-r--r-- | tactics/extratactics.ml4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/extratactics.ml4 b/tactics/extratactics.ml4 index 7f0a4c660..f217cda89 100644 --- a/tactics/extratactics.ml4 +++ b/tactics/extratactics.ml4 @@ -750,7 +750,7 @@ let rec find_a_destructable_match t = let destauto t = try find_a_destructable_match t; - Proofview.tclZERO (UserError ("", str"No destructable match found")) + Tacticals.New.tclZEROMSG (str "No destructable match found") with Found tac -> tac let destauto_in id = @@ -966,7 +966,7 @@ let guard tst = Proofview.tclUNIT () else let msg = Pp.(str"Condition not satisfied:"++ws 1++(pr_itest tst)) in - Proofview.tclZERO (Errors.UserError("guard",msg)) + Tacticals.New.tclZEROMSG msg TACTIC EXTEND guard |