aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/funind/recdef.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml
index 469f87f15b..5c910c4247 100644
--- a/plugins/funind/recdef.ml
+++ b/plugins/funind/recdef.ml
@@ -51,7 +51,8 @@ open Genarg
let compute_renamed_type gls c =
- rename_bound_vars_as_displayed (pf_env gls) [] (pf_type_of gls c)
+ let ids = collect_visible_vars c in
+ rename_bound_vars_as_displayed ids (pf_type_of gls c)
let qed () = Lemmas.save_named true
let defined () = Lemmas.save_named false