From f44ec99f9ae9b8aa8d77c39795dd4de2a5724218 Mon Sep 17 00:00:00 2001 From: Pierre Roux Date: Sat, 11 Apr 2020 14:03:54 +0200 Subject: [coqchk] Fix #5030 When encountering ```Coq Module M : T. ... Lemma c :... ... Qed. ... End M. ``` every field `c` without body in `T` but with a body in `M` is registered as opacified in a table along with all constants `opacified(c)` without body in the environment at this point (i.e., all axioms potentially used by c). Then, when printing axioms, if `c` appears in the final environment it is replaced by `opacified(c)` in the resulting list of axioms. --- checker/mod_checking.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checker/mod_checking.mli') diff --git a/checker/mod_checking.mli b/checker/mod_checking.mli index 58eb135b50..194f6c6e16 100644 --- a/checker/mod_checking.mli +++ b/checker/mod_checking.mli @@ -10,4 +10,4 @@ val set_indirect_accessor : Opaqueproof.indirect_accessor -> unit -val check_module : Environ.env -> Names.ModPath.t -> Declarations.module_body -> unit +val check_module : Environ.env -> Names.Cset.t Names.Cmap.t -> Names.ModPath.t -> Declarations.module_body -> Names.Cset.t Names.Cmap.t -- cgit v1.2.3