aboutsummaryrefslogtreecommitdiff
path: root/proofs
diff options
context:
space:
mode:
Diffstat (limited to 'proofs')
-rw-r--r--proofs/logic.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml
index 5f8d7c2f2c..c045ee73af 100644
--- a/proofs/logic.ml
+++ b/proofs/logic.ml
@@ -124,7 +124,7 @@ and mk_casegoals sigma goal goalacc p c =
let (acc',ct) = mk_hdgoals sigma goal goalacc c in
let (acc'',pt) = mk_hdgoals sigma goal acc' p in
let indspec =
- try find_inductive env sigma ct
+ try find_rectype env sigma ct
with Induc -> anomaly "mk_casegoals" in
let (lbrty,conclty) = type_case_branches env sigma indspec pt p c in
(acc'',lbrty,conclty)