]> matita.cs.unibo.it Git - helm.git/blobdiff - components/acic_content/acic2content.ml
replaced an assert false that cause nat_ind not to be displayed with a dummy result
[helm.git] / components / acic_content / acic2content.ml
index ddd1b5ebcd02687a6d9a8834497fc9ebc984bf70..69a1f632dcf3117138c5b421dcfb94f9999adb10 100644 (file)
@@ -360,7 +360,7 @@ let infer_dependent ~headless context metasenv = function
                   (n <> Cic.Anonymous && fstorder src, t) :: 
                   aux (CicSubstitution.subst 
                         (Deannotate.deannotate_term t) tgt) tl
-              | _ -> assert false
+              | _ -> List.map (fun s -> false,s) (t::tl)
        in
        (false, he) :: aux hety tl
      with CicTypeChecker.TypeCheckerFailure _ -> assert false