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/eqdecide.ml | |
parent | 0a2dfa5e5d17ccf58328432888dff345ef0bf5e6 (diff) |
Using tclZEROMSG instead of tclZERO in several places.
Diffstat (limited to 'tactics/eqdecide.ml')
-rw-r--r-- | tactics/eqdecide.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/eqdecide.ml b/tactics/eqdecide.ml index c2cd9e47f..2ee4bf8e1 100644 --- a/tactics/eqdecide.ml +++ b/tactics/eqdecide.ml @@ -158,7 +158,7 @@ let solveEqBranch rectype = end end begin function (e, info) -> match e with - | PatternMatchingFailure -> Proofview.tclZERO (UserError ("",Pp.str"Unexpected conclusion!")) + | PatternMatchingFailure -> Tacticals.New.tclZEROMSG (Pp.str"Unexpected conclusion!") | e -> Proofview.tclZERO ~info e end @@ -186,7 +186,7 @@ let decideGralEquality = end begin function (e, info) -> match e with | PatternMatchingFailure -> - Proofview.tclZERO (UserError ("", Pp.str"The goal must be of the form {x<>y}+{x=y} or {x=y}+{x<>y}.")) + Tacticals.New.tclZEROMSG (Pp.str"The goal must be of the form {x<>y}+{x=y} or {x=y}+{x<>y}.") | e -> Proofview.tclZERO ~info e end |