diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-09-19 09:55:49 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-09-19 09:55:49 +0200 |
commit | dd4a532455258badbc057b3780bf99e556d8c07a (patch) | |
tree | 481c79f197770f2a44e5cd44455a40a5f9cdf37f /kernel | |
parent | 296941dc97d53817cc58b4687ed99168e1dd33a9 (diff) | |
parent | d6aa9482b7f0e09e06b844c59950211ca3bf9270 (diff) |
Merge PR #920: kernel: bugfix in filter_stack_domain.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/inductive.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/inductive.ml b/kernel/inductive.ml index 1eaba49aa..a39307368 100644 --- a/kernel/inductive.ml +++ b/kernel/inductive.ml @@ -860,6 +860,8 @@ let filter_stack_domain env ci p stack = match stack, kind_of_term t with | elt :: stack', Prod (n,a,c0) -> let d = LocalAssum (n,a) in + let ctx, a = dest_prod_assum env a in + let env = push_rel_context ctx env in let ty, args = decompose_app (whd_all env a) in let elt = match kind_of_term ty with | Ind ind -> |