diff options
author | 2011-03-07 15:37:59 +0000 | |
---|---|---|
committer | 2011-03-07 15:37:59 +0000 | |
commit | 0a2738fe2e171cc6661824cd6525ee5d5c317334 (patch) | |
tree | 41c4eaff941fa572f46236197e087037cb0c158e /plugins/extraction/modutil.ml | |
parent | 654f4e0f4dfae3073f8af5ccf54636f927191276 (diff) |
Extraction: a warning when an opaque constant is enterred
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13891 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/extraction/modutil.ml')
-rw-r--r-- | plugins/extraction/modutil.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/extraction/modutil.ml b/plugins/extraction/modutil.ml index 21dfee666..027b24787 100644 --- a/plugins/extraction/modutil.ml +++ b/plugins/extraction/modutil.ml @@ -332,7 +332,9 @@ let rec depcheck_se = function let refs = declared_refs d in let refs' = List.filter is_needed refs in if refs' = [] then - (List.iter remove_info_axiom refs; se') + (List.iter remove_info_axiom refs; + List.iter remove_opaque refs; + se') else begin List.iter found_needed refs'; (* Hack to avoid extracting unused part of a Dfix *) |