diff options
| author | Pierre-Marie Pédrot | 2018-06-05 14:59:15 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2018-06-23 01:38:33 +0200 |
| commit | c3318ad8408b1ceb0bfd4c2bfedec63ce9324698 (patch) | |
| tree | ac38feed833aaa28038e0144109f34305fc44cc8 /kernel/typeops.ml | |
| parent | f337d237c97db0b29619e15d21a022bba953a794 (diff) | |
Change the proj_ind field from MutInd.t to inductive.
This is a first step towards the acceptance of mutual record types in the
kernel.
Diffstat (limited to 'kernel/typeops.ml')
| -rw-r--r-- | kernel/typeops.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml index 325d5cecd7..34ed2afb27 100644 --- a/kernel/typeops.ml +++ b/kernel/typeops.ml @@ -301,7 +301,7 @@ let type_of_projection env p c ct = try find_rectype env ct with Not_found -> error_case_not_inductive env (make_judge c ct) in - assert(MutInd.equal pb.proj_ind (fst ind)); + assert(eq_ind pb.proj_ind ind); let ty = Vars.subst_instance_constr u pb.Declarations.proj_type in substl (c :: CList.rev args) ty |
