fix(library/user_recursors): missing statement
This commit is contained in:
parent
ccf9187704
commit
2587164999
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ recursor_info mk_recursor_info(environment const & env, name const & r, optional
|
|||
name I = r.get_prefix();
|
||||
unsigned num_indices = *inductive::get_num_indices(env, I);
|
||||
unsigned num_params = *inductive::get_num_params(env, I);
|
||||
has_given_major_pos = true;
|
||||
given_major_pos = num_params + 1 /* motive */ + num_indices;
|
||||
}
|
||||
declaration d = env.get(r);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue