From 1c4bf87e00721d7c9eb94eff25ebdb5b69b7df4b Mon Sep 17 00:00:00 2001 From: sacerdot Date: Mon, 18 Oct 2004 11:52:10 +0000 Subject: zeta flag added to reduce LetIns in a morphism type. Morphisms with local definitions in their types are now accepted. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6232 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tactics/setoid_replace.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tactics/setoid_replace.ml b/tactics/setoid_replace.ml index 54c961ed30..43d25b6ea6 100644 --- a/tactics/setoid_replace.ml +++ b/tactics/setoid_replace.ml @@ -753,7 +753,7 @@ let new_morphism m signature id hook = else let env = Global.env() in let typeofm = Typing.type_of env Evd.empty m in - let typ = nf_betaiota typeofm in + let typ = clos_norm_flags Closure.betaiotazeta empty_env Evd.empty typeofm in let argsrev, output = decompose_prod typ in let args_ty = List.rev argsrev in let args_ty_len = List.length (args_ty) in -- cgit v1.2.3