]> matita.cs.unibo.it Git - helm.git/blobdiff - components/library/coercDb.ml
Critical bug finally found after a long chasing!!!
[helm.git] / components / library / coercDb.ml
index ac57aa40a82b3f4fde03e07e588646ab10f40871..ed3d58c724c66cd71d8b3a5bc0b549aa9c75dbba 100644 (file)
@@ -82,6 +82,8 @@ let eq_carr src tgt =
       else raise EqCarrOnNonMetaClosed
   | Fun _,Fun _ -> true (* only one Funclass? *)
 (*   | Fun i,Fun j when i=j -> true *)
+  | Term t, _
+  | _, Term t when not (CicUtil.is_meta_closed t) -> raise EqCarrOnNonMetaClosed
   | _, _ -> false
 ;;