From 2be5f2d8506642e8e7acf04356c5ce9cc0481358 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 11 Jan 2005 16:09:20 +0000 Subject: [PATCH] added fallback case (assertion failure) for unsupported Implicit annotations --- helm/ocaml/cic_unification/cicMkImplicit.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/ocaml/cic_unification/cicMkImplicit.ml b/helm/ocaml/cic_unification/cicMkImplicit.ml index b6aa1df41..851355e95 100644 --- a/helm/ocaml/cic_unification/cicMkImplicit.ml +++ b/helm/ocaml/cic_unification/cicMkImplicit.ml @@ -148,6 +148,7 @@ let expand_implicits metasenv subst context term = let (metasenv', idx) = mk_implicit metasenv subst context in let irl = identity_relocation_list_for_metavariable context in metasenv', Cic.Meta (idx, irl) + | Cic.Implicit _ -> assert false | Cic.Cast (te, ty) -> let metasenv', ty' = aux metasenv context ty in let metasenv'', te' = aux metasenv' context te in -- 2.39.2