]> matita.cs.unibo.it Git - helm.git/commitdiff
replaced an assert false that cause nat_ind not to be displayed with a dummy result
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 11 Sep 2007 08:16:25 +0000 (08:16 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 11 Sep 2007 08:16:25 +0000 (08:16 +0000)
helm/software/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