We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e43abf4 commit 9f09cbfCopy full SHA for 9f09cbf
pretyping/retyping.ml
@@ -109,7 +109,7 @@ let retype ?(polyprop=true) sigma =
109
Inductiveops.find_rectype env sigma t
110
with Not_found -> retype_error BadRecursiveType
111
in
112
- let n = inductive_nrealdecls (fst (fst (dest_ind_family indf))) in
+ let n = inductive_nrealdecls_env env (fst (fst (dest_ind_family indf))) in
113
let t = betazetaevar_applist sigma n p realargs in
114
(match kind_of_term (whd_betadeltaiota env sigma (type_of env t)) with
115
| Prod _ -> whd_beta sigma (applist (t, [c]))
0 commit comments