diff options
Diffstat (limited to 'kernel/inductive.ml')
| -rw-r--r-- | kernel/inductive.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml index 433a2c1d95..5ab2886a97 100644 --- a/kernel/inductive.ml +++ b/kernel/inductive.ml @@ -121,7 +121,8 @@ let mind_check_names mie = declaration, and checks that they are all present (and all the same) for all the given types. *) -let mind_extract_params = decompose_prod_n +let mind_extract_params n c = + let (l,c') = decompose_prod_n n c in (List.rev l,c') let extract nparams c = try mind_extract_params nparams c |
