]> matita.cs.unibo.it Git - helm.git/commitdiff
wrong assertion was inserted, now just a warning to know when it happens
authorEnrico Tassi <enrico.tassi@inria.fr>
Sat, 2 Jun 2007 09:38:35 +0000 (09:38 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Sat, 2 Jun 2007 09:38:35 +0000 (09:38 +0000)
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