diff options
author | Stephane Glondu <steph@glondu.net> | 2009-02-19 13:13:20 +0100 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2009-02-19 13:13:20 +0100 |
commit | 2155252cd74c3a2d0dc0bde716ef70b1f86b8085 (patch) | |
tree | 20313deb80e22ea9088f1e6ba0bb9336f3718b25 /pretyping/indrec.ml | |
parent | 06746919eadeeb430bfb464d83847f982ea78540 (diff) | |
parent | a0a94c1340a63cdb824507b973393882666ba52a (diff) |
Merge commit 'upstream/8.2-1+dfsg'
Diffstat (limited to 'pretyping/indrec.ml')
-rw-r--r-- | pretyping/indrec.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pretyping/indrec.ml b/pretyping/indrec.ml index d3123eb6..88a0c2a6 100644 --- a/pretyping/indrec.ml +++ b/pretyping/indrec.ml @@ -6,7 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(* $Id: indrec.ml 11735 2009-01-02 17:22:31Z herbelin $ *) +(* $Id: indrec.ml 11897 2009-02-09 19:28:02Z barras $ *) open Pp open Util @@ -229,7 +229,7 @@ let make_rec_branch_arg env sigma (nparrec,fvect,decF) f cstr recargs = | None -> lambda_name env (n,t,process_constr (push_rel d env) (i+1) - (whd_beta (applist (lift 1 f, [(mkRel 1)]))) + (whd_beta Evd.empty (applist (lift 1 f, [(mkRel 1)]))) (cprest,rest)) | Some(_,f_0) -> let nF = lift (i+1+decF) f_0 in @@ -237,7 +237,7 @@ let make_rec_branch_arg env sigma (nparrec,fvect,decF) f cstr recargs = let arg = process_pos env' nF (lift 1 t) in lambda_name env (n,t,process_constr env' (i+1) - (whd_beta (applist (lift 1 f, [(mkRel 1); arg]))) + (whd_beta Evd.empty (applist (lift 1 f, [(mkRel 1); arg]))) (cprest,rest))) | (n,Some c,t as d)::cprest, rest -> mkLetIn |