From 4edcf284d13d4f0f945234482fda852e7b7180c4 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 13 Apr 2010 19:53:31 +0000 Subject: [PATCH] catch the right exception, avoid uncaught Subst_not_found From: tassi --- helm/software/components/ng_refiner/nCicUnification.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/software/components/ng_refiner/nCicUnification.ml b/helm/software/components/ng_refiner/nCicUnification.ml index 1f03755ff..d4cb7a53f 100644 --- a/helm/software/components/ng_refiner/nCicUnification.ml +++ b/helm/software/components/ng_refiner/nCicUnification.ml @@ -50,7 +50,7 @@ let eta_reduce subst t = let _,_,t,_ = NCicUtils.lookup_subst i subst in let t = NCicSubstitution.subst_meta lc t in eat_lambdas ctx t - with Not_found -> ctx, t) + with NCicUtils.Subst_not_found _ -> ctx, t) | t -> ctx, t in let context_body = eat_lambdas [] t in -- 2.39.2