]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/closeCoercionGraph.ml
wrong assertion was inserted, now just a warning to know when it happens
[helm.git] / components / tactics / closeCoercionGraph.ml
index 1f4c1d12b2182055ddf994bcfb9110475ac25e4e..4f1d1b182159eb334710bff22b2caa8a57d1e139 100644 (file)
@@ -341,7 +341,9 @@ let close_coercion_graph src tgt uri baseuri =
                             (CoercDb.term_of_carr (CoercDb.Uri coer)) 
                             [] [] univ arity true
                         in
-                        assert (menv = []);
+                        if (menv = []) then
+                          prerr_endline 
+                            "MENV non empty after composing coercions";
                         build_obj t univ arity
                     | _ -> assert false 
                   ) (first_step, CicUniv.empty_ugraph) tl