aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/indrec.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/indrec.ml')
-rw-r--r--pretyping/indrec.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/indrec.ml b/pretyping/indrec.ml
index 0960c2fda..bcb0b5499 100644
--- a/pretyping/indrec.ml
+++ b/pretyping/indrec.ml
@@ -559,7 +559,7 @@ let lookup_eliminator ind_sp s =
(* inductive type *)
let ref = ConstRef (make_kn mp dp (label_of_id id)) in
try
- let _ = full_name ref in
+ let _ = sp_of_global None ref in
constr_of_reference ref
with Not_found ->
(* Then try to get a user-defined eliminator in some other places *)