diff options
author | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-03-18 00:11:25 +0000 |
---|---|---|
committer | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-03-18 00:11:25 +0000 |
commit | dafb5f443611cf0bfb4626f47d20d65149bd3fe0 (patch) | |
tree | db6c2c7edf63ca299bb22cd72fc96de700e2e19f /toplevel/discharge.ml | |
parent | 8bff8bbd620e54022c2fea81542bf1cbc18fafb0 (diff) |
bug discharge (work_alist contenanti plein de fois les memes choses)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@323 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/discharge.ml')
-rw-r--r-- | toplevel/discharge.ml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/toplevel/discharge.ml b/toplevel/discharge.ml index 09b10538d..859f00a00 100644 --- a/toplevel/discharge.ml +++ b/toplevel/discharge.ml @@ -173,10 +173,8 @@ let process_constant osecsp nsecsp oldenv (ids_to_discard,modlist) cb = expmod_constant_value cb.const_opaque oldenv modlist cb.const_body in let typ = expmod_type oldenv modlist cb.const_type in let hyps = map_sign_typ (expmod_type oldenv modlist) cb.const_hyps in - let (body',typ',modl) = - abstract_constant ids_to_discard hyps (body,typ) - in - let mods = (Const osecsp, DO_ABSTRACT(Const nsecsp,modl)) :: modlist in + let (body',typ',modl) = abstract_constant ids_to_discard hyps (body,typ) in + let mods = [ (Const osecsp, DO_ABSTRACT(Const nsecsp,modl)) ] in (body', typ'.body, mods) |