X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_tactics%2FnTacStatus.ml;h=0bb0d846e9fedc5c3b9bc2a7da01f8b3701e66c5;hb=9730627f1ab5a6071f7e3f615e23bf6696f7041e;hp=035e65ac7b83089cd086b803045c8b24f165ed51;hpb=5366f90df289f2ab2bd97c68643198f54ad2d2ac;p=helm.git diff --git a/helm/software/components/ng_tactics/nTacStatus.ml b/helm/software/components/ng_tactics/nTacStatus.ml index 035e65ac7..0bb0d846e 100644 --- a/helm/software/components/ng_tactics/nTacStatus.ml +++ b/helm/software/components/ng_tactics/nTacStatus.ml @@ -14,7 +14,7 @@ exception Error of string lazy_t * exn option let fail ?exn msg = raise (Error (msg,exn)) -let wrap f x = +let wrap f x = try f x with | MultiPassDisambiguator.DisambiguationError _ @@ -239,8 +239,8 @@ let select_term (* we could lift wanted step-by-step *) try true, unify status ctx (None, ctx, t) wanted with - | NCicUnification.UnificationFailure _ - | NCicUnification.Uncertain _ -> false, status + | Error (_, Some (NCicUnification.UnificationFailure _)) + | Error (_, Some (NCicUnification.Uncertain _)) -> false, status in let match_term status ctx (wanted : cic_term) t = let rec aux ctx (status,already_found) t =