diff options
author | 2002-03-19 19:45:38 +0000 | |
---|---|---|
committer | 2002-03-19 19:45:38 +0000 | |
commit | b4f4ac211fb5b1bdfee84554c11d3ba00518905a (patch) | |
tree | 85678a49f622bc1439ab08f787e9ad392f072a98 /contrib | |
parent | 5a29f44ac94af20780e41a1f3044b62668b558d3 (diff) |
suite bug Dglob constant
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2547 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/extraction/extraction.ml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/extraction/extraction.ml b/contrib/extraction/extraction.ml index 489548a47..37b8b4492 100644 --- a/contrib/extraction/extraction.ml +++ b/contrib/extraction/extraction.ml @@ -245,9 +245,11 @@ let kill_all_prop_lams_eta e s = kill_some_lams (List.rev_map ((=) default) s) p let kill_prop_lams_eta e s = - let ids,e = kill_all_prop_lams_eta e s in - if ids = [] then MLlam (dummy_name, ml_lift 1 e) - else named_lams ids e + if s = [] then e + else + let ids,e = kill_all_prop_lams_eta e s in + if ids = [] then MLlam (dummy_name, ml_lift 1 e) + else named_lams ids e (*s Auxiliary function for [abstract_constant] and [abstract_constructor]. *) |