aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2015-06-25 14:04:49 +0200
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2015-06-29 22:16:07 +0200
commit38da14404781843a6143fc4af9d503e05d8d7dd6 (patch)
treeca11ea317485d4f37ae9dd08608ea973d5eeefe2 /tactics
parent671e556453c1eee335cf788ebc72675f5a7483d8 (diff)
class_tactics: remove catch-all, use Errors.noncritical
Diffstat (limited to 'tactics')
-rw-r--r--tactics/class_tactics.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml
index ef78a953a..09cf4b049 100644
--- a/tactics/class_tactics.ml
+++ b/tactics/class_tactics.ml
@@ -205,7 +205,7 @@ and e_my_find_search db_list local_db hdc complete sigma concl =
if cl.cl_strict then
Evd.evars_of_term concl
else Evar.Set.empty
- with _ -> Evar.Set.empty
+ with e when Errors.noncritical e -> Evar.Set.empty
in
let hintl =
List.map_append
@@ -397,7 +397,7 @@ let is_unique env concl =
try
let (cl,u), args = dest_class_app env concl in
cl.cl_unique
- with _ -> false
+ with e when Errors.noncritical e -> false
let needs_backtrack env evd oev concl =
if Option.is_empty oev || is_Prop env evd concl then