aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorMaxime Dénès2018-06-23 12:48:08 +0200
committerMaxime Dénès2018-06-23 12:48:08 +0200
commit38b180984b09840e0b1023cc441917acc77dd438 (patch)
tree789a228bc09ea801116745dff353483d22fa605c /tactics
parentf337d237c97db0b29619e15d21a022bba953a794 (diff)
parent50105b474cb2daaad997ebbd4eab096600dadcd9 (diff)
Merge PR #7750: Handle mutual records in the kernel
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tacticals.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/tacticals.ml b/tactics/tacticals.ml
index f34c83ae72..837865e644 100644
--- a/tactics/tacticals.ml
+++ b/tactics/tacticals.ml
@@ -753,8 +753,8 @@ module New = struct
let (ind,t) = pf_reduce_to_quantified_ind gl (pf_unsafe_type_of gl c) in
let isrec,mkelim =
match (Global.lookup_mind (fst (fst ind))).mind_record with
- | None -> true,gl_make_elim
- | Some _ -> false,gl_make_case_dep
+ | NotRecord -> true,gl_make_elim
+ | FakeRecord | PrimRecord _ -> false,gl_make_case_dep
in
general_elim_then_using mkelim isrec None tac None ind (c, t)
end