]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/primitiveTactics.ml
Debugging code is now controlled by the debug flag.
[helm.git] / components / tactics / primitiveTactics.ml
index b016eb85f6141cc7445bb75dcdcc306d5657c4c3..c9d68d9deccfe96770cf888097cfcc1797ec6a20 100644 (file)
@@ -298,8 +298,7 @@ let apply_with_subst ~term ~subst ~maxmeta (proof, goal) =
      try
       new_metasenv_and_unify_and_t newmeta' metasenv' context term' ty
         termty n
-     with (CicUnification.UnificationFailure _ 
-     | CicUniv.UniverseInconsistency _ ) when n > 0 ->
+     with CicUnification.UnificationFailure _ when n > 0 ->
       add_one_argument (n - 1)
     in
      add_one_argument goal_arity
@@ -337,7 +336,6 @@ let apply_with_subst ~term ?(subst=[]) ?(maxmeta=0) status =
   with 
   | CicUnification.UnificationFailure msg
   | CicTypeChecker.TypeCheckerFailure msg -> raise (Fail msg)
-  | CicUniv.UniverseInconsistency msg  -> raise (Fail (lazy msg))
 
 (* ALB *)
 let apply_tac_verbose ~term status =