aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2014-06-17 15:22:18 +0200
committerGravatar Matthieu Sozeau <mattam@mattam.org>2014-06-17 15:42:15 +0200
commit362e81735b07f96cb87e1203328592fc394beaad (patch)
tree2e6f9e9030f220ef5650d533690b73c3feba5dce /library
parent2b7bede68c213fbb884c773c073ba31a886f41f4 (diff)
- Fix the de Bruijn problem in check_projection for good :)
- Fix HoTT coq bug #80, implicit arguments with primitive projections were wrongly automatically infered.
Diffstat (limited to 'library')
-rw-r--r--library/impargs.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/impargs.ml b/library/impargs.ml
index 4fe898994..c7faff33c 100644
--- a/library/impargs.ml
+++ b/library/impargs.ml
@@ -200,6 +200,9 @@ let add_free_rels_until strict strongly_strict revpat bound env m pos acc =
| App (f,_) when rig && is_flexible_reference env bound depth f ->
if strict then () else
iter_constr_with_full_binders push_lift (frec false) ed c
+ | Proj (p,c) when rig ->
+ if strict then () else
+ iter_constr_with_full_binders push_lift (frec false) ed c
| Case _ when rig ->
if strict then () else
iter_constr_with_full_binders push_lift (frec false) ed c