diff options
author | 2009-05-27 22:51:46 +0000 | |
---|---|---|
committer | 2009-05-27 22:51:46 +0000 | |
commit | a3f3b8621fcee45ee9c622923fba5c442b9a5c2a (patch) | |
tree | 8560bc5f93290846c0c61b489b2d91b14c7b7610 /toplevel/command.ml | |
parent | a0df6a89bd29e7e058d0734c93549789ba477859 (diff) |
Fix implicit args code so that declarations are added for all
definitions and variables (may increase the vo's size a bit), which in
turn fixes discharging with manual implicit args only.
Fix Context to correctly handle "kept" assumptions for typeclasses,
discharging a class variable when any variable bound in it is used.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12150 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/command.ml')
-rw-r--r-- | toplevel/command.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/command.ml b/toplevel/command.ml index 820e0f156..d2eed98e4 100644 --- a/toplevel/command.ml +++ b/toplevel/command.ml @@ -1102,9 +1102,9 @@ let save_remaining_recthms (local,kind) body opaq i (id,(t_i,imps)) = | None -> (match local with | Local -> - let impl=false and keep=false in (* copy values from Vernacentries *) + let impl=false in (* copy values from Vernacentries *) let k = IsAssumption Conjectural in - let c = SectionLocalAssum (t_i,impl,keep) in + let c = SectionLocalAssum (t_i,impl,[]) in let _ = declare_variable id (Lib.cwd(),c,k) in (Local,VarRef id,imps) | Global -> |