aboutsummaryrefslogtreecommitdiff
path: root/tactics/wcclausenv.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tactics/wcclausenv.ml')
-rw-r--r--tactics/wcclausenv.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/wcclausenv.ml b/tactics/wcclausenv.ml
index 8a76a0e6fa..48ae03cc92 100644
--- a/tactics/wcclausenv.ml
+++ b/tactics/wcclausenv.ml
@@ -134,9 +134,9 @@ let elim_res_pf_THEN_i kONT clenv tac gls =
let rec build_args acc ce p_0 p_1 =
match p_0,p_1 with
- | ((DOP2(Prod,a,(DLAM(na,_) as b))), (a_0::bargs)) ->
+ | ((DOP2(Prod,a,DLAM(na,b))), (a_0::bargs)) ->
let (newa,ce') = (build_term ce (na,Some a) a_0) in
- build_args (newa::acc) ce' (sAPP b a_0) bargs
+ build_args (newa::acc) ce' (subst1 a_0 b) bargs
| (_, []) -> (List.rev acc,ce)
| (_, (_::_)) -> failwith "mk_clenv_using"